Share via


ExchangeServiceBinding.BeginGetEvents Method

The BeginGetEvents method is used to begin an asynchronous GetEvents call.

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

Syntax

'Declaration
Public Function BeginGetEvents ( _
    GetEvents1 As GetEventsType, _
    callback As AsyncCallback, _
    asyncState As Object _
) As IAsyncResult
'Usage
Dim instance As ExchangeServiceBinding
Dim GetEvents1 As GetEventsType
Dim callback As AsyncCallback
Dim asyncState As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginGetEvents(GetEvents1, _
    callback, asyncState)
public IAsyncResult BeginGetEvents(
    GetEventsType GetEvents1,
    AsyncCallback callback,
    Object asyncState
)

Parameters

Return Value

Type: System.IAsyncResult
The BeginGetEvents method returns an IAsyncResult object.