Method Create
- Namespace
- MailFathom.Application.Mail.Delivery.Operations
- Assembly
- MailFathom.Application.dll
Create(MailAccountId?, OutgoingEmailStage?, int?, OutboxCursor?)
Builds a validated query from what a caller asked for, or reports why the request names no page.
public static OutboxQueryResult Create(MailAccountId? accountId, OutgoingEmailStage? stage, int? pageSize, OutboxCursor? cursor)
Parameters
accountIdMailAccountId?The account to narrow to, or null for every account.
stageOutgoingEmailStage?The stage to narrow to, or null for every stage.
pageSizeint?How many sends the page may hold, or null for DefaultPageSize.
cursorOutboxCursor?The boundary a continued walk reads beyond, or null for the first page.
Returns
- OutboxQueryResult
The accepted query, or the refusal naming what the caller has to change.