Partager via


ExchangeServiceBinding.BeginUnsubscribe Method

The BeginUnsubscribe method is used to begin an asynchronous Unsubscribe call.

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

Syntax

'Declaration
Public Function BeginUnsubscribe ( _
    Unsubscribe1 As UnsubscribeType, _
    callback As AsyncCallback, _
    asyncState As Object _
) As IAsyncResult
'Usage
Dim instance As ExchangeServiceBinding
Dim Unsubscribe1 As UnsubscribeType
Dim callback As AsyncCallback
Dim asyncState As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginUnsubscribe(Unsubscribe1, _
    callback, asyncState)
public IAsyncResult BeginUnsubscribe(
    UnsubscribeType Unsubscribe1,
    AsyncCallback callback,
    Object asyncState
)

Parameters

Return Value

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