共用方式為


HttpApplication.Session 屬性

定義

取得提供工作階段資料存取的內建工作階段物件。

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

屬性值

目前工作階段的 HttpSessionState 物件。

屬性

例外狀況

HttpSessionState 物件是 null

適用於