Table of Contents

Method FindAsync

Namespace
MailFathom.Application.Calendar
Assembly
MailFathom.Application.dll

FindAsync(CalendarEventId, CancellationToken)

Reads one event of the signed-in person's calendar.

public Task<CalendarEvent?> FindAsync(CalendarEventId eventId, CancellationToken cancellationToken)

Parameters

eventId CalendarEventId

The event to read.

cancellationToken CancellationToken

Propagates caller cancellation.

Returns

Task<CalendarEvent>

The event, or null where that calendar holds no such event.

Exceptions

PrincipalNotAuthorizedException

Thrown when the caller acts for no person, or its grant omits CalendarRead.