Partager via


ExchangeServiceBinding.DeleteFolderAsync Method (DeleteFolderType, Object)

The DeleteFolderAsync method provides asynchronous access to the DeleteFolder Web service method.

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

Syntax

'Declaration
Public Sub DeleteFolderAsync ( _
    DeleteFolder1 As DeleteFolderType, _
    userState As Object _
)
'Usage
Dim instance As ExchangeServiceBinding
Dim DeleteFolder1 As DeleteFolderType
Dim userState As Object

instance.DeleteFolderAsync(DeleteFolder1, _
    userState)
public void DeleteFolderAsync(
    DeleteFolderType DeleteFolder1,
    Object userState
)

Parameters

Remarks

For an example of an asynchronous call, see FindFolderAsync.