Table of Contents

Method ReadAsync

Namespace
MailFathom.Infrastructure.Persistence.Settings
Assembly
MailFathom.Infrastructure.dll

ReadAsync(CancellationToken)

Reads the persisted configuration document.

Task<RootSettingsDocument> ReadAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Cancels the read.

Returns

Task<RootSettingsDocument>

The document and the version it was read at.

Exceptions

RootSettingsUnreadableException

Thrown when the persisted configuration cannot be read at all.