hosted element
Defines the ServiceID, Types,PnPXHardwareId, and PnPXCompatibleId elements for the services defined by the service host.
Usage
<hosted>
child elements
</hosted>
Attributes
There are no attributes.
Child elements
Element | Description |
---|---|
PnPXCompatibleId |
Specifies the PnP-X Compatible Identifier of the service. |
PnPXHardwareId |
Specifies the PnP-X Hardware Identifier of the service. |
ServiceID |
Defines a service identifier for the service host. |
Types |
Defines a list of XSD qualified names. |
Child element sequence
(
ServiceID,
Types,
PnPXHardwareId?,
PnPXCompatibleId?
)
Parent elements
Element | Description |
---|---|
hostMetadata |
The hosting metadata for the device to be implemented. |
Remarks
Each service provided by a service host should have its own hosted element information to ensure that the service is published properly in responses to metadata requests.
The PnPXHardwareId and PnPXCompatibleId elements are optional, but when used, they must be used together. If one is present, the other must be present as well.
If a PnPXDeviceCategory element is present, then at least one hosted element must contain both PnPXHardwareId and PnPXCompatibleId elements. Similarly, if PnPXHardwareId and PnPXCompatibleId elements are present in a hosted element, at least one PnPXDeviceCategory element must be present inside the thisModelMetadata element.
Element information
Label | Value |
---|---|
Minimum supported system |
Windows Vista |
Can be empty | No |
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기