IReceiveContextSettings 介面

定義

可讓您設定接收內容設定的介面。An interface that enables you to set receive context settings.

public interface class IReceiveContextSettings
public interface IReceiveContextSettings
type IReceiveContextSettings = interface
Public Interface IReceiveContextSettings

備註

接收內容可讓您在使用單向訊息通道時控制認可,以及使用佇列通道時的非破壞性讀取。Receive context allows for controlled acknowledgement when using a one-way message channel and non-destructive reads when using a queued channel.

屬性

Enabled

取得或設定值,這個值會指定是否啟用接收內容。Gets or sets a value that specifies if receive context is enabled.

ValidityDuration

取得或設定值,這個值會指定搭配使用直接通道時的連接逾時,以及搭配使用佇列通道時的訊息鎖定持續時間。Gets a value that specifies a connection timeout when used with direct channels and message lock duration when used with queued channels.

適用於