IAsyncEwsClient.FetchItemAsync
IAsyncEwsClient.FetchItemAsync method
Retrieves the complete item with attachments.
public Task<MapiMessage> FetchItemAsync(string uri,
IEnumerable<PropertyDescriptor> extendedProperties = null,
CancellationToken cancellationToken = default)
Parameter | Type | Description |
---|---|---|
uri | String | The item URI. |
extendedProperties | IEnumerable`1 | Specified properties to retrieve. |
cancellationToken | CancellationToken | The cancellation token. |
Return Value
MapiMessage
object.
Exceptions
exception | condition |
---|---|
AsposeArgumentException | The item URI is null or empty. |
See Also
- class MapiMessage
- class PropertyDescriptor
- interface IAsyncEwsClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email