語言

DefaultPropertiesToSend.Recoverable 屬性

定義

取得或設定一個值,指示訊息在電腦故障或網路問題發生時是否保證送達。

public:
 property bool Recoverable { bool get(); void set(bool value); };
[System.Messaging.MessagingDescription("MsgRecoverable")]
public bool Recoverable { get; set; }
[<System.Messaging.MessagingDescription("MsgRecoverable")>]
member this.Recoverable : bool with get, set
Public Property Recoverable As Boolean

屬性值

true 若訊息在途中儲存至磁碟以保證送達; false 如果無法保證送達。 預設值為 false。

屬性

備註

該 Recoverable 特性表示即使電腦在訊息傳送至目的地佇列途中當機,訊息是否仍能保證送達。

若訊息有保證送達,訊息會在路由的每個步驟都本地儲存,直到成功轉發至下一台電腦。 設定 Recoverable 為 true 開啟 DefaultPropertiesToSend 可能會影響吞吐量。

若訊息為交易性,訊息佇列自動將訊息視為可恢復,無論是否 Recoverable 設定為 true。

適用於

另請參閱