Table of Contents

Method RecordAndAnnounceAsync

Namespace
MailFathom.Application.Notifications
Assembly
MailFathom.Application.dll

RecordAndAnnounceAsync(Notification, CancellationToken)

Records one notification and announces it where it was kept.

public Task<bool> RecordAndAnnounceAsync(Notification notification, CancellationToken cancellationToken)

Parameters

notification Notification

The notification to raise.

cancellationToken CancellationToken

Cancels the raise.

Returns

Task<bool>

true when the notification was kept, and false when an unread one already names the same condition.

Exceptions

ArgumentNullException

Thrown when notification is null.