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 如果 Web 应用程序应还原为托管标识,则为否则,为 false. 默认值为 true。
- 属性