IAsyncEwsClient.GetContactsAsync

IAsyncEwsClient.GetContactsAsync method

Lists contacts located in the specified folder on server

public Task<Contact[]> GetContactsAsync(string folder, 
    ExchangeListContactsOptions options = ExchangeListContactsOptions.FetchPhoto, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
folderStringA folder to search contacts in
optionsExchangeListContactsOptionsEnumerates the list contacts options
cancellationTokenCancellationTokenThe cancellation token

Return Value

An array of read Contact that represents contact information

See Also