Method ReadScopeAsync
- Namespace
- MailFathom.Application.Contacts
- Assembly
- MailFathom.Application.dll
ReadScopeAsync(CancellationToken)
Reads the books this caller reads: their own first, then the collected book of each account they are assigned.
public Task<ContactBookScope> ReadScopeAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenCancels the read of the user's assignments.
Returns
- Task<ContactBookScope>
The books this caller reads.
Exceptions
- PrincipalNotAuthorizedException
Thrown when the work was reached under a principal acting for no user.