Table of Contents

Method BeginRead

Namespace
MailFathom.Application.Observability
Assembly
MailFathom.Application.dll

BeginRead(MailboxReadOperation, CancellationToken)

Opens the report of one read, and publishes it when the returned scope is disposed.

IMailboxReadScope BeginRead(MailboxReadOperation operation, CancellationToken cancellationToken)

Parameters

operation MailboxReadOperation

Which read is beginning.

cancellationToken CancellationToken

The caller's token, read as the scope is disposed to tell a caller that walked away from a read that broke.

Returns

IMailboxReadScope

The scope, which the caller must dispose exactly once and which the read must be conducted inside.