Method ReadAsync
- Namespace
- MailFathom.Application.Folders
- Assembly
- MailFathom.Application.dll
ReadAsync(MailAccountId, CancellationToken)
Reads the account's folders and the acts each of them allows.
public Task<MailFolderManagement> ReadAsync(MailAccountId account, CancellationToken cancellationToken)
Parameters
accountMailAccountIdThe account, by its generated identifier.
cancellationTokenCancellationTokenPropagates caller cancellation.
Returns
- Task<MailFolderManagement>
The folders and what may be done to them.