Table of Contents

Method DeleteAsync

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

DeleteAsync(CalendarEventId, CancellationToken)

Takes one event off the signed-in person's calendar for good.

public Task<bool> DeleteAsync(CalendarEventId eventId, CancellationToken cancellationToken)

Parameters

eventId CalendarEventId

The event to delete.

cancellationToken CancellationToken

Propagates caller cancellation.

Returns

Task<bool>

true when the calendar held the event and it is gone; false when it held none.

Remarks

Dismissing a proposal is this operation and not one of its own: a date nobody wanted is not a fact worth keeping, so what a person dismisses and what they delete leave the calendar the same way.

Exceptions

PrincipalNotAuthorizedException

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