SessionStateSection.UseHostingIdentity 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,指定會話狀態是否在可用時使用用戶端模擬,或總是回復到主機身份。
public:
property bool UseHostingIdentity { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("useHostingIdentity", DefaultValue=true)]
public bool UseHostingIdentity { get; set; }
[<System.Configuration.ConfigurationProperty("useHostingIdentity", DefaultValue=true)>]
member this.UseHostingIdentity : bool with get, set
Public Property UseHostingIdentity As Boolean
屬性值
true若網頁應用程式應回復為主機身份;否則,。 false 預設值為 true。
- 屬性