IWSDAsyncResult (Compact 2013)
3/26/2014
This interface represents an asynchronous operation.
The IWSDAsyncResult interface inherits the methods of the IUnknown interface.
In addition, the following table lists the methods supported by the IWSDAsyncResult interface in vtable order.
Method |
Description |
---|---|
Specifies a callback interface to call when the asynchronous operation has completed. |
|
Specifies a wait handle to set when the operation completes. |
|
Indicates whether the operation has completed. |
|
Gets the state of the asynchronous operation. |
|
Aborts the asynchronous operation. |
|
Gets a WSD_EVENT structure that contains the result of the event. |
|
Retrieves the endpoint proxy for the asynchronous operation. |
Remarks
The IWSDAsyncResult interface can be used to set a wait handle to receive event or message notification or poll for operation completion. It can also retrieve the state of an asynchronous operation and retrieve the results and response body of the event.
The IWSDAsyncCallback interface can be used to provide an asynchronous calling pattern in support of WSDAPI messaging and eventing, allowing an application to receive callback notification based on the status of an operation.
A failed asynchronous operation is treated as a completed asynchronous operation. Error or fault information can be retrieved from the IWSDAsyncCallback interface using the IWSDAsyncCallback::AsyncOperationComplete method.
Requirements
Header |
wsdapi.h |
Library |
wsdapi.lib |
See Also
Reference
Web Services on Devices Interfaces
Web Services on Devices Reference