Table of Contents

Method SummariseAsync

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

SummariseAsync(Stream, CancellationToken)

Reports what a file would put on the acting person's calendar, writing nothing.

public Task<CalendarImportSummary> SummariseAsync(Stream file, CancellationToken cancellationToken)

Parameters

file Stream

The octets the person chose.

cancellationToken CancellationToken

Propagates caller cancellation.

Returns

Task<CalendarImportSummary>

What the file would create, what it would skip and why, or why the whole file was refused.

Exceptions

ArgumentNullException

Thrown when file is null.

PrincipalNotAuthorizedException

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