Ews.DeleteAttachmentAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9083)
DeleteAttachmentAsync(EwsAttachmentId, Object)
Begins asynchronous DeleteAttachment operation. Deletes an attachment identified by its ID.
Declaration
public Task DeleteAttachmentAsync(EwsAttachmentId attachmentId, object state = null)
Parameters
Type | Name | Description |
---|---|---|
EwsAttachmentId | attachmentId | ID of an attachment to delete. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task |