DIWbemServices.CancelAsyncCall

[This is preliminary documentation and subject to change.]

The DIWbemServices.CancelAsyncCall method cancels any currently pending asynchronous call based on the DIWbemObjectSink object that was originally passed to the asynchronous method.

DIWbemServices.CancelAsyncCall(
  [in]  pSink As Object 
) As Long
 

Parameters

pSink
DIWbemObjectSink implementation provided by the client to any of the Asynchronous Methods of DIWbemServices.

Return Values

WBEM_E_FAILED Unspecified error.
WBEM_E_INVALID_PARAMETER The supplied handle in lAsyncRequestHandle did not correspond to a pending asynchronous request.
WBEM_E_OUT_OF_MEMORY There was not enough memory to complete the operation.
WBEM_NO_ERROR Success.

For more information on return values see Visual Basic error handeling and return values

See Also

Asynchronous Methods, DIWbemObjectSink