hostMetadata element

Defines the hosting metadata for the device to be implemented. This element is used for device implementations (hosts) only.

Usage

<hostMetadata>
  child elements
</hostMetadata>

Attributes

There are no attributes.

Child elements

Element Description
host
Defines the ServiceID and Types elements for the service host. If not provided explicitly, WSDAPI will not supply any default data in response to metadata requests.

hosted
Defines the ServiceID and Types elements for the services provided by this service host. Each service provided by this service host should have its own hosted element information to ensure that the service is published properly in responses to metadata requests.

Child element sequence

(
  host?, 
  hosted+
)

Parent elements

Element Description
relationshipMetadata
Describes the host and hosted metadata for the device.

Remarks

The hosting metadata appears in this element in a form similar to the one specified in the device profile. hostMetadata is slightly different from the format described in the device profile in that the only reference property it supports is the service ID.

The relationshipMetadataDefinition element is used subsequently to generate a C constant containing this information.

Element information

Label Value
Minimum supported system
Windows Vista
Can be empty No