ExchangeServiceBinding.DeleteItemAsync Method (, Object)
Deletes items asynchronously from the Microsoft Exchange Server 2007 data store.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Sub DeleteItemAsync ( _
DeleteItem1 As DeleteItemType, _
userState As Object _
)
'Usage
Dim instance As ExchangeServiceBinding
Dim DeleteItem1 As DeleteItemType
Dim userState As Object
instance.DeleteItemAsync(DeleteItem1, _
userState)
public void DeleteItemAsync(
DeleteItemType DeleteItem1,
Object userState
)
Parameters
- DeleteItem1
Type: DeleteItemType
An item to delete.
- userState
Type: System.Object