Table of Contents

Method SaveAsync

Namespace
MailFathom.Application.Preferences
Assembly
MailFathom.Application.dll

SaveAsync(ClientPreferences, CancellationToken)

Replaces what the signed-in person set about their own client.

public Task<bool> SaveAsync(ClientPreferences preferences, CancellationToken cancellationToken)

Parameters

preferences ClientPreferences

The whole set, since the document is closed and a write states all of it.

cancellationToken CancellationToken

Propagates caller cancellation.

Returns

Task<bool>

true when the write landed, and false when this deployment holds no record for the caller.

Exceptions

ArgumentNullException

Thrown when preferences is null.

PrincipalNotAuthorizedException

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