IAsyncEwsClient.FetchItemAsync

IAsyncEwsClient.FetchItemAsync method

Retrieves the complete item with attachments.

public Task<MapiMessage> FetchItemAsync(string uri, 
    IEnumerable<PropertyDescriptor> extendedProperties = null, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
uriStringThe item URI.
extendedPropertiesIEnumerable`1Specified properties to retrieve.
cancellationTokenCancellationTokenThe cancellation token.

Return Value

MapiMessage object.

Exceptions

exceptioncondition
AsposeArgumentExceptionThe item URI is null or empty.

See Also