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キャッシュ新機



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「SystemWebCachingSectionGroup」の関連用語

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

   

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



SystemWebCachingSectionGroupのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS