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
jobTypeJobType?The kind of work to narrow to, or null for every kind.
accountIdMailAccountId?The account to narrow to, or null for every account.
pageSizeint?How many jobs the page may hold, or null for DefaultPageSize.
cursorDeadLetteredJobCursor?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.