Share via


IWSDServiceProxy::UnsubscribeToOperation (Compact 2013)

3/26/2014

This method cancels a subscription to a notification or solicit/response event.

Syntax

HRESULT UnsubscribeToOperation(
  const WSD_OPERATION* pOperation
);

Parameters

  • pOperation
    [in] Reference to a WSD_OPERATION structure that specifies the operation subscribed to.

Return Value

The following table shows the possible error code return values.

Error code

Description

S_OK

This method completed successfully.

E_INVALIDARG

The proxy is not subscribed to the notification specified by pOperation.

E_POINTER

pOperation is NULL.

Requirements

Header

wsdapi.h

Library

wsdapi.lib

See Also

Reference

IWSDServiceProxy
Web Services on Devices Interfaces