This topic has not yet been rated - Rate this topic

IWSDEndpointProxy interface

Applies to: desktop apps only

Implements a device services messaging proxy.

Members

The IWSDEndpointProxy interface inherits from the IUnknown interface. IWSDEndpointProxy also has these types of members:

Methods

The IWSDEndpointProxy interface has these methods.

MethodDescription
AbortAsyncOperation

Aborts a pending asynchronous operation.

GetErrorInfo

Retrieves information on the last error.

GetFaultInfo

Retrieves information on the last received fault.

ProcessFault

Processes the fault information.

SendOneWayRequest

Sends a one-way request message.

SendTwoWayRequest

Sends a two-way request message using a synchronous call pattern.

SendTwoWayRequestAsync

Sends a two-way request message using an asynchronous call pattern.

 

Remarks

Service proxy objects may reside on multiple endpoints. An endpoint more completely represents a URL (contains additional useful data). One endpoint may support HTTP on IPv4 addresses and another may support HTTPS on IPv6 addresses. Since the same service lives on both endpoints, it is important that the service have underlying endpoint proxy objects, with each endpoint proxy corresponding to a single endpoint at which the service is available. The endpoint proxy takes care of simple messaging requests to the service, for example, sending one-way or two-way messages.

Endpoint proxies are generally used inside WSDAPI, but they can be retrieved from IWSDServiceProxy or IWSDDeviceProxy objects to expose message-level functionality.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

WsdClient.h (include Wsdapi.h)

IDL

WsdClient.idl

DLL

Wsdapi.dll

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ