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)
| Parameter | Type | Description | 
|---|---|---|
| unresolvedEntry | String | A name of contact to resolve | 
| options | ExchangeListContactsOptions | Enumerates the list contacts options | 
| cancellationToken | CancellationToken | The cancellation token | 
Return Value
Contacts that represent contact information
Exceptions
| exception | condition | 
|---|---|
| AsposeArgumentException | unresolvedEntry is null or empty | 
See Also
- class Contact
 - enum ExchangeListContactsOptions
 - interface IAsyncEwsClient
 - namespace Aspose.Email.Clients.Exchange.WebService
 - assembly Aspose.Email