Method MarkAllReadAsync
- Namespace
- MailFathom.Application.Notifications
- Assembly
- MailFathom.Application.dll
MarkAllReadAsync(CancellationToken)
Marks every one of the signed-in person's unread notifications read.
public Task<int> MarkAllReadAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenPropagates caller cancellation.
Returns
Exceptions
- PrincipalNotAuthorizedException
Thrown when the caller acts for no user, or its grant omits NotificationsWrite.