SessionStateStoreData コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
SessionStateStoreData クラスの新しいインスタンスを作成します。
public:
SessionStateStoreData(System::Web::SessionState::ISessionStateItemCollection ^ sessionItems, System::Web::HttpStaticObjectsCollection ^ staticObjects, int timeout);
public SessionStateStoreData(System.Web.SessionState.ISessionStateItemCollection sessionItems, System.Web.HttpStaticObjectsCollection staticObjects, int timeout);
new System.Web.SessionState.SessionStateStoreData : System.Web.SessionState.ISessionStateItemCollection * System.Web.HttpStaticObjectsCollection * int -> System.Web.SessionState.SessionStateStoreData
Public Sub New (sessionItems As ISessionStateItemCollection, staticObjects As HttpStaticObjectsCollection, timeout As Integer)
パラメーター
- sessionItems
- ISessionStateItemCollection
現在のセッションのセッション変数と値。
- staticObjects
- HttpStaticObjectsCollection
現在のセッションの HttpStaticObjectsCollection 。
注釈
SessionStateStoreData クラスは、SessionStateModuleへのセッション ストアのセッション状態データを表すために使用されます。 SessionStateStoreData オブジェクトには、セッション状態の変数名と値、静的オブジェクト参照、および現在のセッションのTimeout情報が含まれています。
SessionStateStoreData クラスは、SessionStateModuleとの間でセッション状態情報を渡すために、カスタム セッション状態ストアの ASP.NET および実装者によって使用されます。
カスタム セッション ストア実装者は、GetItem、GetItemExclusive、および CreateNewStoreData メソッドの実装でSessionStateStoreData オブジェクトを構築します。