Share via


IWSDiscoveredService (Compact 2013)

3/26/2014

This interface represents a remotely discoved host. WSDAPI returns this interface when calling IWSDiscoveryProviderNotify::Add and IWSDiscoveryProviderNotify::Remove. The interface is populated when a match for an outstanding query issued using IWSDiscoveryProvider::SearchByType, IWSDiscoveryProvider::SearchByAddress, or IWSDiscoveryProvider::SearchById is received, or if a device on the network announces itself with a Hello message.

The IWSDDiscoveredService interface inherits the methods of the IUnknown interface.

In addition, the following table lists the methods supported by the IWSDDiscoveredService interface in vtable order.

Method

Description

IWSDiscoveredService::GetEndpointReference

Retrieves a WS-Addressing address referencing an endpoint of the remote device.

IWSDiscoveredService::GetTypes

Retrieves a list of WS-Discovery Types provided in the Hello, ProbeMatch, or ResolveMatch message sent by the remote device.

IWSDiscoveredService::GetScopes

Retrieves a list of WS-Discovery Scopes provided in the Hello, ProbeMatch, or ResolveMatch message sent by the remote device.

IWSDiscoveredService::GetXAddrs

Retrieves a list of WS-Discovery XAddrs provided in the Hello, ProbeMatch, or ResolveMatch message sent by the remote device.

IWSDiscoveredService::GetMetadataVersion

Retrieves the metadata version of this message.

IWSDiscoveredService::GetExtendedDiscoXML

Retrieves custom or extensible data provided in the header or body of the SOAP message.

IWSDiscoveredService::GetProbeResolveTag

Retrieves the search tag corresponding to this discovered service object.

IWSDiscoveredService::GetRemoteTransportAddress

Retrieves the string representation of the remote transport (IP) address.

IWSDiscoveredService::GetLocalTransportAddress

Retrieves the string representation of the local transport (IP) address.

IWSDiscoveredService::GetLocalInterfaceGUID

Retrieves the GUID of the local network interface over which the message was received.

IWSDiscoveredService::GetInstanceId

Retrieves the instance identifier of this message.

Requirements

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

Web Services on Devices Interfaces
Web Services on Devices Reference