Table of Contents

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

cancellationToken CancellationToken

Propagates caller cancellation.

Returns

Task<int>

How many notifications the request changed.

Exceptions

PrincipalNotAuthorizedException

Thrown when the caller acts for no user, or its grant omits NotificationsWrite.