Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Ews.GetAttachmentAsync Method

Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9147)

GetAttachmentAsync(EwsAttachmentId, Object)

Begins asynchronous GetAttachment operation. Gets an attachment identified by its ID.

Declaration
public Task<Attachment> GetAttachmentAsync(EwsAttachmentId attachmentId, object state = null)
Parameters
Type Name Description
EwsAttachmentId attachmentId

ID of an attachment to get.

Object state

An optional user-provided object that identifies this particular asynchronous operation.

Returns
Type Description
Task<Attachment>

Attachment object if the attachment is found; null reference (Nothing in VB.NET) otherwise.

In This Article
  • GetAttachmentAsync(EwsAttachmentId, Object)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies