HttpContextBase.Session 属性

定义

当在派生类中重写时,获取当前 HTTP 请求的 HttpSessionState 对象。

public:
 virtual property System::Web::HttpSessionStateBase ^ Session { System::Web::HttpSessionStateBase ^ get(); };
public virtual System.Web.HttpSessionStateBase Session { get; }
member this.Session : System.Web.HttpSessionStateBase
Public Overridable ReadOnly Property Session As HttpSessionStateBase

属性值

当前 HTTP 请求的会话状态对象。

例外

适用于