MsmqIntegrationMessageProperty.TimeToReachQueue Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the maximum amount of time for the message to reach the queue.
public:
property Nullable<TimeSpan> TimeToReachQueue { Nullable<TimeSpan> get(); void set(Nullable<TimeSpan> value); };
public TimeSpan? TimeToReachQueue { get; set; }
member this.TimeToReachQueue : Nullable<TimeSpan> with get, set
Public Property TimeToReachQueue As Nullable(Of TimeSpan)
Property Value
The maximum amount of time for the message to reach the queue.
Exceptions
The value is not null and is less than zero.
-or-
The value is not infinite and is greater than Int32.MaxValue milliseconds.
Remarks
If the interval specified by the TimeToReachQueue property expires before the message reaches its destination, MSMQ discards the message depending on the behavior indicated by the DeadLetterQueue
property on the binding.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈