hostedService element

Defines a service to be hosted in a host builder function.

Usage

<hostedService>
  child elements
</hostedService>

Attributes

There are no attributes.

Child elements

Element Description
codeName
Specifies the name to be used for the port type in the generated code. By default, the code name is generated from the port type's qualified name.

portType
Port type for which code is to be generated.

proxyClass
Class name to generate from builder function.

ServiceID
A URI that represents the service identifier.

Child element sequence

codeName(
  ServiceID, 
  proxyClass, 
  portType+
)

Parent elements

Element Description
file
The output file specification for the code generator.

Element information

Label Value
Minimum supported system
Windows Vista
Can be empty No