Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Cancels a collection of subscriptions to notifications or solicit/response events.
Syntax
HRESULT UnsubscribeToMultipleOperations(
  [in] const WSD_OPERATION  *pOperations,
  [in] DWORD                dwOperationCount,
  [in] const WSDXML_ELEMENT *pAny
);
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.
Return value
Possible return values include, but are not limited to, the following:
| Return code | Description | 
|---|---|
| 
 | Method completed successfully. | 
| 
 | The proxy is not subscribed to the notification specified by pOperation. | 
| 
 | pOperation is NULL. | 
Remarks
This method is designed to be exclusively called by generated proxy 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 |