IAsyncEwsClient.ListContactsAsync

IAsyncEwsClient.ListContactsAsync method

Lists contacts located in the specified folder on server.

public Task<IEnumerable<MapiContact>> ListContactsAsync(string folderUri, 
    IEnumerable<PropertyDescriptor> mapiProperties = null, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
folderUriStringA folder to search contacts in.
mapiPropertiesIEnumerable`1Required additional mapi properties.
cancellationTokenCancellationTokenThe cancellation token.

Return Value

An array of read MapiContact that represents contact information.

See Also