本主題尚未接受評分 - 為這個主題評分

DefaultMessageTimeToLive 屬性

取得或設定預設訊息存留時間值。這是從將訊息傳送給 Service Bus 開始起算的期間,在此期間之後,訊息會過期。這是訊息本身未設定 TimeToLive 時使用的預設值。

比其 TimeToLive 值還舊的訊息會過期,而且不再保留於訊息存放區中。訂閱者將無法接收過期訊息。

命名空間:  Microsoft.ServiceBus.Messaging
組件:  Microsoft.ServiceBus (在 Microsoft.ServiceBus.dll 中)
public TimeSpan DefaultMessageTimeToLive { get; set; }

屬性值

型別:System..::..TimeSpan
預設訊息存留時間值。

If you set the EnableDeadLetteringOnMessageExpiration property, then any message that is not received before its expiration will be moved to the dead-letter queue.

本文對您有任何幫助嗎?
(剩餘 1500 個字元)

社群新增項目

新增
© 2013 Microsoft. 著作權所有,並保留一切權利。
facebook page visit twitter rss feed newsletter