IGraphClientAsync.ListContactFoldersAsync

IGraphClientAsync.ListContactFoldersAsync method

Asynchronously gets a collection of child folders under the root contact folder.

public Task<FolderInfoCollection> ListContactFoldersAsync(ODataQueryBuilder queryBuilder = null, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
queryBuilderODataQueryBuilderOptional OData query builder for filtering contact folders.
cancellationTokenCancellationTokenA cancellation token to observe while waiting for the task to complete.

Return Value

A task that represents the asynchronous operation. The task result contains the list of subfolders of the root contact folder.

See Also