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 _
)
'Usage
Dim instance As ExchangeServiceBinding
Dim Subscribe1 As SubscribeType
Dim userState As Object

instance.SubscribeAsync(Subscribe1, userState)
public void SubscribeAsync(
    SubscribeType Subscribe1,
    Object userState
)

Parameters

Remarks

For an example of an asynchronous call, see FindFolderAsync.