You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: nservicebus/messaging/delayed-delivery.md
+4-10Lines changed: 4 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Delayed Delivery
3
3
summary: Delay delivery of messages until a later time.
4
4
component: core
5
-
reviewed: 2023-07-16
5
+
reviewed: 2025-07-01
6
6
related:
7
7
- samples/delayed-delivery
8
8
---
@@ -13,25 +13,19 @@ Delayed delivery is used for:
13
13
14
14
*[Timeout messages](/nservicebus/sagas/timeouts.md) sent by [sagas](/nservicebus/sagas/)
15
15
*[Delayed retries](/nservicebus/recoverability/#delayed-retries), to retry a message after successive delays when [immediate retries](/nservicebus/recoverability/#immediate-retries) don't result in successful processing
16
-
* Explicitly sending a message with a delay, as described below
16
+
* Explicitly sending a message with a delay using `SendOptions` as described below
17
17
18
18
> [!NOTE]
19
19
> Only send operations can be deferred. Publish and reply operations cannot be deferred.
20
20
21
-
## Delaying message dispatching
22
-
23
-
24
-
Delaying a message is done using `SendOptions` and the `DelayDeliveryWith` method. This allows to defer the sending of a message to any endpoint. The behavior of delayed handling using `DelayDeliveryWith` can be seen in [Delayed Delivery Sample](/samples/delayed-delivery).
25
-
26
-
27
-
## Using a TimeSpan
21
+
## Delay using a TimeSpan
28
22
29
23
Delays delivery of a message for a specified duration.
30
24
31
25
snippet: delayed-delivery-timespan
32
26
33
27
34
-
## Using a DateTime
28
+
## Delay using a DateTime
35
29
36
30
Delays delivery of a message until a specified point in time.
0 commit comments