Share via


ExchangeServiceBinding.SubscribeAsync Method (SubscribeType, Object)

The SubscribeAsync method provides asynchronous access to the Subscribe Web service method.

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

Syntax

'Declaration
Public Sub SubscribeAsync ( _
    Subscribe1 As SubscribeType, _
    userState As Object _
)
public void SubscribeAsync (
    SubscribeType Subscribe1,
    Object userState
)
public:
void SubscribeAsync (
    SubscribeType^ Subscribe1, 
    Object^ userState
)
public void SubscribeAsync (
    SubscribeType Subscribe1, 
    Object userState
)
public function SubscribeAsync (
    Subscribe1 : SubscribeType, 
    userState : Object
)

Parameters

  • Subscribe1
    The Subscribe 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)