IWSDAsyncResult interface (wsdclient.h)
Represents an asynchronous operation.
The IWSDAsyncResult interface inherits from the IUnknown interface. IWSDAsyncResult also has these types of members:
The IWSDAsyncResult interface has these methods.
Aborts the asynchronous operation.
Gets the state of the asynchronous operation.
Retrieves the endpoint proxy for the asynchronous operation.
Retrieves a WSD_EVENT structure that contains the result of the event.
Indicates whether the operation has completed.
Specifies a callback interface to call when the asynchronous operation has completed.
Specifies a wait handle to set when the operation completes.
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.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|
|Header||wsdclient.h (include Wsdapi.h)|