DpwsServiceDescription Constructor
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Creates an instance of a DpwsServiceDescription class initialized with a service endpoint and a list of supported service types.
Namespace: Dpws.Client.Discovery
Assembly: MFDpwsClient (in MFDpwsClient.dll)
Syntax
'Declaration
Public Sub New ( _
endpoint As WsWsaEndpointRef, _
serviceTypes As DpwsServiceTypes _
)
public DpwsServiceDescription(
WsWsaEndpointRef endpoint,
DpwsServiceTypes serviceTypes
)
public:
DpwsServiceDescription(
WsWsaEndpointRef^ endpoint,
DpwsServiceTypes^ serviceTypes
)
new :
endpoint:WsWsaEndpointRef *
serviceTypes:DpwsServiceTypes -> DpwsServiceDescription
public function DpwsServiceDescription(
endpoint : WsWsaEndpointRef,
serviceTypes : DpwsServiceTypes
)
Parameters
- endpoint
Type: Ws.Services.WsaAddressing. . :: . .WsWsaEndpointRef
A WsWsaEndpointRef object containing a DPWS device service endpoint.
- serviceTypes
Type: Dpws.Client. . :: . .DpwsServiceTypes
A string array containing a list of service types supported by a DPWS device service endpoint.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.