SessionStateStoreData.StaticObjects プロパティ

定義

ASP.NET アプリケーションの Global.asax ファイルの <object Runat="Server" Scope="Session"/> タグで宣言されているオブジェクトのコレクションを取得します。

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

プロパティ値

Global.asax ファイルで宣言されたオブジェクトが格納されている HttpStaticObjectsCollection

注釈

次に、

StaticObjects プロパティは、以前のバージョンの ASP との互換性のために提供されています。

カスタム セッション ストアの実装者は、 メソッドを使用して、現在HttpContextHttpStaticObjectsCollectionインスタンスの クラスへの参照をGetSessionStaticObjects取得できます。

注意

コレクションに格納されているカスタム オブジェクトは、 StaticObjects バイナリ シリアル化をサポートする必要があります。 詳しくは、「バイナリ シリアル化」をご覧ください。

適用対象

こちらもご覧ください