Table of Contents

Method ReadAsync

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

ReadAsync(UserId, CalendarEventId, CancellationToken)

Reads one event of somebody's calendar.

Task<CalendarEvent?> ReadAsync(UserId owner, CalendarEventId eventId, CancellationToken cancellationToken)

Parameters

owner UserId

The person whose calendar is read.

eventId CalendarEventId

The event to read.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<CalendarEvent>

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

Exceptions

ArgumentException

Thrown when owner names nobody.