Ews.ImportItemAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9083)
ImportItemAsync(EwsFolderId, Byte[], Object)
Begins asynchronous ImportItem operation. Imports an item in exchange format to specified exchange folder. This method is supported in Exchange 2010 SP1 (14.1.218.15) and newer.
Declaration
public Task<EwsItemId> ImportItemAsync(EwsFolderId folderId, byte[] itemData, object state = null)
Parameters
Type | Name | Description |
---|---|---|
EwsFolderId | folderId | ID of a folder where to import the item. |
Byte[] | itemData | Raw data of an item to import (usually obtained by ExportItem(EwsItemId) method). |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<EwsItemId> |