ExchangeServiceBinding.DeleteFolderAsync Method (DeleteFolderType, Object)
Represents the folder to delete asynchronously from the mailbox.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.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
- DeleteFolder1
Type: Microsoft.SharePoint.Portal.WebControls.DeleteFolderType
The folder to delete from the mailbox.
- userState
Type: System.Object