IGraphClientAsync.GetFolderAsync

IGraphClientAsync.GetFolderAsync method

Asynchronously gets a folder by its ID.

public Task<FolderInfo> GetFolderAsync(string id, CancellationToken cancellationToken = default)
ParameterTypeDescription
idStringFolder id.
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 folder for specified id.

See Also