Table of Contents

Method Create

Namespace
MailFathom.Application.Jobs.DeadLetters
Assembly
MailFathom.Application.dll

Create(JobType?, MailAccountId?, int?, DeadLetteredJobCursor?)

Builds a validated query from what a caller asked for, or reports why the request names no page.

public static DeadLetteredJobQueryResult Create(JobType? jobType, MailAccountId? accountId, int? pageSize, DeadLetteredJobCursor? cursor)

Parameters

jobType JobType?

The kind of work to narrow to, or null for every kind.

accountId MailAccountId?

The account to narrow to, or null for every account.

pageSize int?

How many jobs the page may hold, or null for DefaultPageSize.

cursor DeadLetteredJobCursor?

The boundary a continued walk reads beyond, or null for the first page.

Returns

DeadLetteredJobQueryResult

The accepted query, or the refusal naming what the caller has to change.