ExchangeServiceBinding.BeginSubscribe Method
The BeginSubscribe method is used to begin an asynchronous Subscribe call.
Namespace: ExchangeWebServices
Assembly: EWS (in EWS.dll)
Syntax
'Declaration
Public Function BeginSubscribe ( _
Subscribe1 As SubscribeType, _
callback As AsyncCallback, _
asyncState As Object _
) As IAsyncResult
'Usage
Dim instance As ExchangeServiceBinding
Dim Subscribe1 As SubscribeType
Dim callback As AsyncCallback
Dim asyncState As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginSubscribe(Subscribe1, _
callback, asyncState)
public IAsyncResult BeginSubscribe(
SubscribeType Subscribe1,
AsyncCallback callback,
Object asyncState
)
Parameters
- Subscribe1
Type: ExchangeWebServices.SubscribeType
- callback
Type: System.AsyncCallback
- asyncState
Type: System.Object
Return Value
Type: System.IAsyncResult
The BeginSubscribe method returns an IAsyncResult object.