IAsyncEwsClient.GetFolderInfoAsync

IAsyncEwsClient.GetFolderInfoAsync method

Gets the folder information

public Task<ExchangeFolderInfo> GetFolderInfoAsync(string folder, 
    CancellationToken cancellationToken = default)
ParameterTypeDescription
folderStringA folder uri, distinguished folder name. path/to/folder can also be used, if UseSlashAsFolderSeparator is set
cancellationTokenCancellationTokenThe cancellation token

Return Value

A ExchangeFolderInfo that represents the folder information

Exceptions

exceptioncondition
AsposeArgumentExceptionfolder is null or empty
ExchangeExceptionServer responded an error message

See Also