Share via


ExchangeServiceBinding.UnsubscribeAsync Method (UnsubscribeType, Object)

The UnsubscribeAsync method provides asynchronous access to the Unsubscribe Web service method.

Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)

Syntax

'Declaration
Public Sub UnsubscribeAsync ( _
    Unsubscribe1 As UnsubscribeType, _
    userState As Object _
)
public void UnsubscribeAsync (
    UnsubscribeType Unsubscribe1,
    Object userState
)
public:
void UnsubscribeAsync (
    UnsubscribeType^ Unsubscribe1, 
    Object^ userState
)
public void UnsubscribeAsync (
    UnsubscribeType Unsubscribe1, 
    Object userState
)
public function UnsubscribeAsync (
    Unsubscribe1 : UnsubscribeType, 
    userState : Object
)

Parameters

  • Unsubscribe1
    The Unsubscribe request.
  • userState

Remarks

For an example of an asynchronous call, see FindFolderAsync.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)