HttpApplication.Session 属性

定义

获取提供对会话数据的访问的内部会话对象。Gets the intrinsic session object that provides access to session data.

public:
 property System::Web::SessionState::HttpSessionState ^ Session { System::Web::SessionState::HttpSessionState ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Web.SessionState.HttpSessionState Session { get; }
member this.Session : System.Web.SessionState.HttpSessionState
Public ReadOnly Property Session As HttpSessionState

属性值

当前会话的 HttpSessionState 对象。The HttpSessionState object for the current session.

属性

异常

HttpSessionState 对象是 nullThe HttpSessionState object is null.

适用于