ExchangeServiceBinding.BeginDeleteFolder Method

The BeginDeleteFolder method is used to begin an asynchronous DeleteFolder call.

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

Syntax

'Declaration
Public Function BeginDeleteFolder ( _
    DeleteFolder1 As DeleteFolderType, _
    callback As AsyncCallback, _
    asyncState As Object _
) As IAsyncResult
'Usage
Dim instance As ExchangeServiceBinding
Dim DeleteFolder1 As DeleteFolderType
Dim callback As AsyncCallback
Dim asyncState As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginDeleteFolder(DeleteFolder1, _
    callback, asyncState)
public IAsyncResult BeginDeleteFolder(
    DeleteFolderType DeleteFolder1,
    AsyncCallback callback,
    Object asyncState
)

Parameters

Return Value

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