IDuplexContextChannel.AutomaticInputSessionShutdown 屬性

定義

取得或設定值,這個值表示是否自動關閉輸入工作階段。

public:
 property bool AutomaticInputSessionShutdown { bool get(); void set(bool value); };
public bool AutomaticInputSessionShutdown { get; set; }
member this.AutomaticInputSessionShutdown : bool with get, set
Public Property AutomaticInputSessionShutdown As Boolean

屬性值

Boolean

如果輸入工作階段會自動關閉則為 true,否則為 false

備註

如果 AutomaticInputSessionShutdown 設定為 true,則當遠端關閉時,使用者的通道會自動關閉。 若將該值改為 false,則可讓使用者在通道關閉之前,將一些最終訊息傳送至輸出工作階段上的遠端。

適用於