SystemWebCachingSectionGroupとは? わかりやすく解説

SystemWebCachingSectionGroup クラス

メモ : このクラスは、.NET Framework version 2.0 で新しく追加されたものです。

構成ファイル内の caching グループを構成します。このクラスは継承できません。

名前空間: System.Web.Configuration
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public NotInheritable Class
 SystemWebCachingSectionGroup
    Inherits ConfigurationSectionGroup
Dim instance As SystemWebCachingSectionGroup
public sealed class SystemWebCachingSectionGroup
 : ConfigurationSectionGroup
public ref class SystemWebCachingSectionGroup
 sealed : public ConfigurationSectionGroup
public final class SystemWebCachingSectionGroup
 extends ConfigurationSectionGroup
public final class SystemWebCachingSectionGroup
 extends ConfigurationSectionGroup
解説解説

SystemWebCachingSectionGroup クラスを使用すると、構成ファイルの caching セクションにプログラムからアクセスして変更できます。

SystemWebCachingSectionGroup クラスと caching セクションを使用すると、サイトまたはアプリケーションで使用するキャッシュ機構を集中管理できます。これにより、アプリケーションの各ページを個別に変更せずに、キャッシュ処理の配置、変更、および無効化を行うことができます。

ASP.NET キャッシュ機構は Cache クラスによって実装されます。詳細については、「ASP.NET のキャッシュの概要」を参照してください。

ASP.NET が提供するキャッシュ機能には、次の 2 種類があります。

使用例使用例

既存の Web アプリケーションに関連付けられている構成ファイルから SystemWebCachingSectionGroup オブジェクトを取得する方法を次のコード例に示します。このオブジェクトを使用して、caching グループに格納されているセクションにアクセスできます。

' Get the Web application configuration.
Dim configuration _
As System.Configuration.Configuration = _
WebConfigurationManager.OpenWebConfiguration( _
"/aspnetTest")

' Get the <caching> section group.
Dim cachingSectionGroup _
As SystemWebCachingSectionGroup = _
CType(configuration.GetSectionGroup( _
"system.web/caching"), SystemWebCachingSectionGroup)
// Get the Web application configuration.
System.Configuration.Configuration configuration =
    WebConfigurationManager.OpenWebConfiguration(
    "/aspnetTest");

// Get the <caching> section group.
SystemWebCachingSectionGroup cachingSectionGroup =
  (SystemWebCachingSectionGroup)configuration.GetSectionGroup(
  "system.web/caching");

継承階層継承階層
System.Object
   System.Configuration.ConfigurationSectionGroup
    System.Web.Configuration.SystemWebCachingSectionGroup
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SystemWebCachingSectionGroup メンバ
System.Web.Configuration 名前空間
CacheSection クラス
OutputCacheSection クラス
OutputCacheSettingsSection クラス
SqlCacheDependencySection クラス
その他の技術情報
caching 要素 (ASP.NET 設定スキーマ)
ASP.NET キャッシュ
ASP.NET のキャッシュの新機能

SystemWebCachingSectionGroup コンストラクタ

メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。

SystemWebCachingSectionGroup の新しいインスタンスを作成します。

名前空間: System.Web.Configuration
アセンブリ: System.Web (system.web.dll 内)
構文構文

Dim instance As New SystemWebCachingSectionGroup
public SystemWebCachingSectionGroup ()
public:
SystemWebCachingSectionGroup ()
public SystemWebCachingSectionGroup ()
public function SystemWebCachingSectionGroup
 ()
解説解説

SystemWebCachingSectionGroup コンストラクタは、コードで直接使用するためのものではありません。ASP.NET 構成システムによって呼び出されます。SystemWebCachingSectionGroup クラスのインスタンスは、GetSection メソッドを使用して取得します。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SystemWebCachingSectionGroup クラス
SystemWebCachingSectionGroup メンバ
System.Web.Configuration 名前空間

SystemWebCachingSectionGroup プロパティ


パブリック プロパティパブリック プロパティ

  名前 説明
パブリック プロパティ Cache 構成に格納されている cache セクションを取得します。
パブリック プロパティ IsDeclarationRequired  この ConfigurationSectionGroup オブジェクト宣言が必要かどうかを示す値を取得します。 ( ConfigurationSectionGroup から継承されます。)
パブリック プロパティ IsDeclared  ConfigurationSectionGroup オブジェクトが宣言されているかどうかを示す値を取得します。 ( ConfigurationSectionGroup から継承されます。)
パブリック プロパティ Name  この ConfigurationSectionGroup オブジェクトの名前プロパティを取得します。 ( ConfigurationSectionGroup から継承されます。)
パブリック プロパティ OutputCache 構成に格納されている outputCache セクションを取得します。
パブリック プロパティ OutputCacheSettings 構成に格納されている outputCacheSettings セクションを取得します。
パブリック プロパティ SectionGroupName  この ConfigurationSectionGroup に関連付けられているセクション グループ名を取得します。 ( ConfigurationSectionGroup から継承されます。)
パブリック プロパティ SectionGroups  この ConfigurationSectionGroup オブジェクトの子であるすべての ConfigurationSectionGroup オブジェクトを格納している ConfigurationSectionGroup オブジェクトを取得します。 ( ConfigurationSectionGroup から継承されます。)
パブリック プロパティ Sections  この ConfigurationSectionGroup 内のすべての ConfigurationSection オブジェクトを格納している ConfigurationSectionCollection を取得します。 ( ConfigurationSectionGroup から継承されます。)
パブリック プロパティ SqlCacheDependency 構成に格納されている sqlCacheDependency セクションを取得します。
パブリック プロパティ Type  この ConfigurationSectionGroup オブジェクトの型を取得または設定します。 ( ConfigurationSectionGroup から継承されます。)
参照参照

関連項目

SystemWebCachingSectionGroup クラス
System.Web.Configuration 名前空間
CacheSection クラス
OutputCacheSection クラス
OutputCacheSettingsSection クラス
SqlCacheDependencySection クラス

その他の技術情報

caching 要素 (ASP.NET 設定スキーマ)
ASP.NET キャッシュ
ASP.NET のキャッシュの新機能

SystemWebCachingSectionGroup メソッド


パブリック メソッドパブリック メソッド

プロテクト メソッドプロテクト メソッド
参照参照

関連項目

SystemWebCachingSectionGroup クラス
System.Web.Configuration 名前空間
CacheSection クラス
OutputCacheSection クラス
OutputCacheSettingsSection クラス
SqlCacheDependencySection クラス

その他の技術情報

caching 要素 (ASP.NET 設定スキーマ)
ASP.NET キャッシュ
ASP.NET のキャッシュの新機能

SystemWebCachingSectionGroup メンバ

構成ファイル内の caching グループを構成します。このクラスは継承できません。

SystemWebCachingSectionGroup データ型で公開されるメンバを以下の表に示します。


パブリック コンストラクタパブリック コンストラクタ
  名前 説明
パブリック メソッド SystemWebCachingSectionGroup SystemWebCachingSectionGroup の新しいインスタンスを作成します。
パブリック プロパティパブリック プロパティ
  名前 説明
パブリック プロパティ Cache 構成に格納されている cache セクションを取得します。
パブリック プロパティ IsDeclarationRequired  この ConfigurationSectionGroup オブジェクト宣言が必要かどうかを示す値を取得します。 (ConfigurationSectionGroup から継承されます。)
パブリック プロパティ IsDeclared  ConfigurationSectionGroup オブジェクトが宣言されているかどうかを示す値を取得します。(ConfigurationSectionGroup から継承されます。)
パブリック プロパティ Name  この ConfigurationSectionGroup オブジェクトの名前プロパティを取得します。(ConfigurationSectionGroup から継承されます。)
パブリック プロパティ OutputCache 構成に格納されている outputCache セクションを取得します。
パブリック プロパティ OutputCacheSettings 構成に格納されている outputCacheSettings セクションを取得します。
パブリック プロパティ SectionGroupName  この ConfigurationSectionGroup に関連付けられているセクション グループ名を取得します。(ConfigurationSectionGroup から継承されます。)
パブリック プロパティ SectionGroups  この ConfigurationSectionGroup オブジェクトの子であるすべての ConfigurationSectionGroup オブジェクトを格納している ConfigurationSectionGroup オブジェクトを取得します。(ConfigurationSectionGroup から継承されます。)
パブリック プロパティ Sections  この ConfigurationSectionGroup 内のすべての ConfigurationSection オブジェクトを格納している ConfigurationSectionCollection を取得します。(ConfigurationSectionGroup から継承されます。)
パブリック プロパティ SqlCacheDependency 構成に格納されている sqlCacheDependency セクションを取得します。
パブリック プロパティ Type  この ConfigurationSectionGroup オブジェクトの型を取得または設定します。(ConfigurationSectionGroup から継承されます。)
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

SystemWebCachingSectionGroup クラス
System.Web.Configuration 名前空間
CacheSection クラス
OutputCacheSection クラス
OutputCacheSettingsSection クラス
SqlCacheDependencySection クラス

その他の技術情報

caching 要素 (ASP.NET 設定スキーマ)
ASP.NET キャッシュ
ASP.NET のキャッシュの新機能



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「SystemWebCachingSectionGroup」の関連用語

SystemWebCachingSectionGroupのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



SystemWebCachingSectionGroupのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS