Method | Description | |
---|---|---|
DelayDeliveryWith ( this options, System.TimeSpan delay ) : void |
Delays the delivery of the message with the specified delay.
|
|
DoNotDeliverBefore ( this options, DateTimeOffset at ) : void |
Requests that the message should not be delivered before the specified time.
|
|
GetDeliveryDate ( this options ) : DateTimeOffset? |
Returns the delivery date configured by using DoNotDeliverBefore.
|
|
GetDeliveryDelay ( this options ) : TimeSpan? |
Returns the configured delivery delay by using DelayDeliveryWith.
|
public static DelayDeliveryWith ( this options, System.TimeSpan delay ) : void | ||
options | this | The options being extended. |
delay | System.TimeSpan | The requested delay. |
return | void |
public static DoNotDeliverBefore ( this options, DateTimeOffset at ) : void | ||
options | this | The options being extended. |
at | DateTimeOffset | The time when this message should be made available. |
return | void |
public static GetDeliveryDate ( this options ) : DateTimeOffset? | ||
options | this | The options being extended. |
return | DateTimeOffset? |
public static GetDeliveryDelay ( this options ) : TimeSpan? | ||
options | this | The options being extended. |
return | TimeSpan? |