IAsyncEwsClient.GetFolderInfoAsync
IAsyncEwsClient.GetFolderInfoAsync method
Gets the folder information
public Task<ExchangeFolderInfo> GetFolderInfoAsync(string folder,
CancellationToken cancellationToken = default)
Parameter | Type | Description |
---|---|---|
folder | String | A folder uri, distinguished folder name. path/to/folder can also be used, if UseSlashAsFolderSeparator is set |
cancellationToken | CancellationToken | The cancellation token |
Return Value
A ExchangeFolderInfo
that represents the folder information
Exceptions
exception | condition |
---|---|
AsposeArgumentException | folder is null or empty |
ExchangeException | Server responded an error message |
See Also
- class ExchangeFolderInfo
- interface IAsyncEwsClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email