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
eventIdCalendarEventIdThe event to read.
cancellationTokenCancellationTokenPropagates 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.