Compartir a través de


ExchangeServiceBinding.BeginDeleteAttachment Method

The BeginDeleteAttachment method is used to begin an asynchronous DeleteAttachment call.

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

Syntax

'Declaration
Public Function BeginDeleteAttachment ( _
    DeleteAttachment1 As DeleteAttachmentType, _
    callback As AsyncCallback, _
    asyncState As Object _
) As IAsyncResult
'Usage
Dim instance As ExchangeServiceBinding
Dim DeleteAttachment1 As DeleteAttachmentType
Dim callback As AsyncCallback
Dim asyncState As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginDeleteAttachment(DeleteAttachment1, _
    callback, asyncState)
public IAsyncResult BeginDeleteAttachment(
    DeleteAttachmentType DeleteAttachment1,
    AsyncCallback callback,
    Object asyncState
)

Parameters

Return Value

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