Ews.ExportItemAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9119)
ExportItemAsync(EwsItemId, Object)
Begins asynchronous ExportItem operation. Exports message in its exchange format. This method is supported in Exchange 2010 SP1 (14.1.218.15) and newer.
Declaration
public Task<byte[]> ExportItemAsync(EwsItemId itemId, object state = null)
Parameters
| Type | Name | Description | 
|---|---|---|
| EwsItemId | itemId | ID of an item to export.  | 
    
| Object | state | An optional user-provided object that identifies this particular asynchronous operation.  | 
    
Returns
| Type | Description | 
|---|---|
| Task<Byte[]> | Raw data of the item.  |