IWSDServiceProxyEventing::BeginUnsubscribeToMultipleOperations method (wsdclient.h)

Initializes an asynchronous cancelation request for a subscription to a collection of notifications or solicit/response events.

Syntax

HRESULT BeginUnsubscribeToMultipleOperations(
  [in]  const WSD_OPERATION  *pOperations,
  [in]  DWORD                dwOperationCount,
  [in]  const WSDXML_ELEMENT *pAny,
  [in]  IUnknown             *pAsyncState,
  [in]  IWSDAsyncCallback    *pAsyncCallback,
  [out] IWSDAsyncResult      **ppResult
);

Parameters

[in] pOperations

Pointer to an array of references to WSD_OPERATION structures that specify the operations to unsubscribe from.

[in] dwOperationCount

The number of elements in the array in pOperations.

[in] pAny

Pointer to extensible data to be added to the body of the request. This parameter is optional.

[in] pAsyncState

Anonymous data passed to pAsyncCallback when the callback is called. This data is used to associate a client object with the pending operation. This parameter is optional.

[in] pAsyncCallback

Reference to an IWSDAsyncCallback object that performs the message callback status notifications. This parameter is optional.

[out] ppResult

Pointer to a pointer to an IWSDAsyncResult interface that will represent the result of the requests upon completion.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header wsdclient.h (include Wsdapi.h)
DLL Wsdapi.dll

See also

IWSDServiceProxyEventing