Partager via


ExchangeServiceBinding.BeginGetAttachment Method

The BeginGetAttachment method is used to begin an asynchronous GetAttachment call.

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

Syntax

'Declaration
Public Function BeginGetAttachment ( _
    GetAttachment1 As GetAttachmentType, _
    callback As AsyncCallback, _
    asyncState As Object _
) As IAsyncResult
'Usage
Dim instance As ExchangeServiceBinding
Dim GetAttachment1 As GetAttachmentType
Dim callback As AsyncCallback
Dim asyncState As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginGetAttachment(GetAttachment1, _
    callback, asyncState)
public IAsyncResult BeginGetAttachment(
    GetAttachmentType GetAttachment1,
    AsyncCallback callback,
    Object asyncState
)

Parameters

Return Value

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