Class GetTransportDeliveriesRequest
Data request to get transport deliveries for a message.
[NoTenantTerm(TenantConfinement.ForeignKeyConfined, "this read is not tenant-confined, and the argument is authorization rather than exclusion. A tenant term here would not have kept a foreign row out of the result -- every row reachable through MessageId belongs to the one message named -- it would have made the result EMPTY for a caller scoped to a different tenant than the id it supplied. That is a real confinement and it is deliberately given up: the read backs the cross-tenant drain's per-transport decisions, and scoping it to an ambient tenant returned nothing for every tenanted message and stalled multi-transport delivery. A caller is therefore trusted with any message id it can name, and authorizing the caller to name it belongs to the caller")]
public sealed class GetTransportDeliveriesRequest : DataRequestBase<IDbConnection, IEnumerable<OutboundMessageTransport>>, IDataRequest<IDbConnection, IEnumerable<OutboundMessageTransport>>, IDataRequest
- Inheritance
-
GetTransportDeliveriesRequest
- Implements
- Inherited Members
Remarks
This framework-owned request uses its fixed constructor-defined primitive input schema. Replacing a
known parameter value through Parameters is observed at execution; parameter DbType,
direction, size, templates and output callbacks are not an extensibility contract of this request.
Custom IDataRequest implementations retain their own execution behavior.
Constructors
GetTransportDeliveriesRequest(string, string, int, CancellationToken)
Initializes a new instance of the GetTransportDeliveriesRequest class.
public GetTransportDeliveriesRequest(string tableName, string messageId, int commandTimeout, CancellationToken cancellationToken)
Parameters
tableNamestringThe qualified transports table name.
messageIdstringThe message ID to get deliveries for.
commandTimeoutintCommand timeout in seconds.
cancellationTokenCancellationTokenThe cancellation token.