Share via


ExchangeServiceBinding.CreateAttachmentAsync Method (CreateAttachmentType, Object)

The CreateAttachmentAsync method provides asynchronous access to the CreateAttachment Web service method.

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

Syntax

'Declaration
Public Sub CreateAttachmentAsync ( _
    CreateAttachment1 As CreateAttachmentType, _
    userState As Object _
)
'Usage
Dim instance As ExchangeServiceBinding
Dim CreateAttachment1 As CreateAttachmentType
Dim userState As Object

instance.CreateAttachmentAsync(CreateAttachment1, _
    userState)
public void CreateAttachmentAsync(
    CreateAttachmentType CreateAttachment1,
    Object userState
)

Parameters

Remarks

For an example of an asynchronous call, see FindFolderAsync.