Share via


ExchangeServiceBinding.DeleteAttachmentAsync Method (DeleteAttachmentType, Object)

The DeleteAttachmentAsync method provides asynchronous access to the DeleteAttachment Web service method.

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

Syntax

'Declaration
Public Sub DeleteAttachmentAsync ( _
    DeleteAttachment1 As DeleteAttachmentType, _
    userState As Object _
)
'Usage
Dim instance As ExchangeServiceBinding
Dim DeleteAttachment1 As DeleteAttachmentType
Dim userState As Object

instance.DeleteAttachmentAsync(DeleteAttachment1, _
    userState)
public void DeleteAttachmentAsync(
    DeleteAttachmentType DeleteAttachment1,
    Object userState
)

Parameters

Remarks

For an example of an asynchronous call, see FindFolderAsync.