ExchangeServiceBinding.BeginCreateAttachment Method

The BeginCreateAttachment method is used to begin an asynchronous CreateAttachment call.

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

Syntax

'Declaration
Public Function BeginCreateAttachment ( _
    CreateAttachment1 As CreateAttachmentType, _
    callback As AsyncCallback, _
    asyncState As Object _
) As IAsyncResult
'Usage
Dim instance As ExchangeServiceBinding
Dim CreateAttachment1 As CreateAttachmentType
Dim callback As AsyncCallback
Dim asyncState As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginCreateAttachment(CreateAttachment1, _
    callback, asyncState)
public IAsyncResult BeginCreateAttachment(
    CreateAttachmentType CreateAttachment1,
    AsyncCallback callback,
    Object asyncState
)

Parameters

Return Value

Type: System.IAsyncResult
The BeginCreateAttachment method returns an IAsynchResult object.