Partager via


IWSDServiceProxy::UnsubscribeToOperation (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows Embedded CE 6.0 R2

See Also

Reference

IWSDServiceProxy
Web Services on Devices Interfaces