IAsyncEwsClient.GetContactAsync

IAsyncEwsClient.GetContactAsync method

Retrieves contact information according to specified identifier.

public Task<Contact> GetContactAsync(string contactId, 
    ExchangeListContactsOptions options = ExchangeListContactsOptions.FetchPhoto, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
contactIdStringContact identifier.
optionsExchangeListContactsOptionsSettings for retrieving contact.
cancellationTokenCancellationTokenThe cancellation token.

Return Value

Contact information

See Also