HttpModuleActionCollection クラス
アセンブリ: System.Web (system.web.dll 内)
構文
解説
使用例HttpModuleActionCollection クラスを使用する方法を次のコード例に示します。また、ASP.NET でカスタム モジュールを使用できるようにする構成ファイルの抜粋も示します。
HTTP モジュールの構築と構成の方法を示す完全な例については、「方法 : HTTP モジュールを作成および構成する」を参照してください。
<httpModules> <add name="TimerModule" type="Samples.AspNet.RequestTimeInterval, RequestTimeInterval Version=1.0.1557.23158, Culture=neutral, PublicKeyToken=7bfb33146a87b52e, processorArchitecture=MSIL"/> </httpModules>
' Get the Web application configuration. Dim configuration As System.Configuration.Configuration = _ WebConfigurationManager.OpenWebConfiguration( _ "/aspnetTest") ' Get the section. Dim httpModulesSection As HttpModulesSection = _ CType(configuration.GetSection( _ "system.web/httpModules"), HttpModulesSection) ' Get the collection. Dim modulesCollection _ As HttpModuleActionCollection = httpModulesSection.Modules
// Get the Web application configuration. System.Configuration.Configuration configuration = WebConfigurationManager.OpenWebConfiguration( "/aspnetTest"); // Get the section. HttpModulesSection httpModulesSection = (HttpModulesSection)configuration.GetSection( "system.web/httpModules"); // Get the collection. HttpModuleActionCollection modulesCollection = httpModulesSection.Modules;
継承階層System.Configuration.ConfigurationElement
System.Configuration.ConfigurationElementCollection
System.Web.Configuration.HttpModuleActionCollection
スレッド セーフ
プラットフォームWindows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照Weblioに収録されているすべての辞書からHttpModuleActionCollection クラスを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からHttpModuleActionCollection クラス
を検索
- HttpModuleActionCollection クラスのページへのリンク