IReceiveContextSettings 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
一個介面可以讓你設定接收上下文設定。
public interface class IReceiveContextSettings
public interface IReceiveContextSettings
type IReceiveContextSettings = interface
Public Interface IReceiveContextSettings
備註
接收上下文允許在使用單向訊息通道時進行受控確認,在佇列通道時則可進行非破壞性讀取。
屬性
| 名稱 | Description |
|---|---|
| Enabled |
取得或設定一個值,指定是否啟用接收上下文。 |
| ValidityDuration |
當直接通道使用時,會獲得一個值,指定連線逾時;與排隊通道時則指定訊息鎖定時間。 |