Table of Contents

Method FindAsync

Namespace
MailFathom.Application.Tasks
Assembly
MailFathom.Application.dll

FindAsync(PersonalTaskId, CancellationToken)

Reads one of the signed-in person's tasks.

public Task<PersonalTask?> FindAsync(PersonalTaskId task, CancellationToken cancellationToken)

Parameters

task PersonalTaskId

The task to read.

cancellationToken CancellationToken

Propagates caller cancellation.

Returns

Task<PersonalTask>

The task, or null when this person holds none under that identity.

Exceptions

PrincipalNotAuthorizedException

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