SessionStateStoreData コンストラクター

定義

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

timeout
Int32

現在のセッションの Timeout

注釈

SessionStateStoreData クラスは、SessionStateModuleへのセッション ストアのセッション状態データを表すために使用されます。 SessionStateStoreData オブジェクトには、セッション状態の変数名と値、静的オブジェクト参照、および現在のセッションのTimeout情報が含まれています。

SessionStateStoreData クラスは、SessionStateModuleとの間でセッション状態情報を渡すために、カスタム セッション状態ストアの ASP.NET および実装者によって使用されます。

カスタム セッション ストア実装者は、GetItemGetItemExclusive、および CreateNewStoreData メソッドの実装でSessionStateStoreData オブジェクトを構築します。

適用対象

こちらもご覧ください