IAsyncEwsClient.ResolveContactsAsync

IAsyncEwsClient.ResolveContactsAsync method

Resolves ambiguous e-mail addresses and display names Note: the maximum count of returned contacts is 100. This is a restriction of used EWS operation.

public Task<Contact[]> ResolveContactsAsync(string unresolvedEntry, 
    ExchangeListContactsOptions options = ExchangeListContactsOptions.None, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
unresolvedEntryStringA name of contact to resolve
optionsExchangeListContactsOptionsEnumerates the list contacts options
cancellationTokenCancellationTokenThe cancellation token

Return Value

Contacts that represent contact information

Exceptions

exceptioncondition
AsposeArgumentExceptionunresolvedEntry is null or empty

See Also