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 _
)
public void CreateAttachmentAsync (
    CreateAttachmentType CreateAttachment1,
    Object userState
)
public:
void CreateAttachmentAsync (
    CreateAttachmentType^ CreateAttachment1, 
    Object^ userState
)
public void CreateAttachmentAsync (
    CreateAttachmentType CreateAttachment1, 
    Object userState
)
public function CreateAttachmentAsync (
    CreateAttachment1 : CreateAttachmentType, 
    userState : Object
)

Parameters

  • CreateAttachment1
    The CreateAttachment request.
  • userState

Remarks

For an example of an asynchronous call, see FindFolderAsync.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)