CustomErrorsSection.Errors プロパティ
アセンブリ: System.Web (system.web.dll 内)

カスタム エラーを格納している CustomErrorCollection。


Errors コレクションを使用する方法を次のコード例に示します。
' Get the Web application configuration. Dim configuration _ As System.Configuration.Configuration = _ WebConfigurationManager.OpenWebConfiguration( _ "/aspnetTest") ' Get the section. Dim customErrorsSection _ As CustomErrorsSection = _ CType(configuration.GetSection( _ "system.web/customErrors"), _ CustomErrorsSection) ' Get the collection Dim customErrorsCollection _ As CustomErrorCollection = customErrorsSection.Errors
// Get the Web application configuration. System.Configuration.Configuration configuration = WebConfigurationManager.OpenWebConfiguration( "/aspnetTest"); // Get the section. CustomErrorsSection customErrorsSection = (CustomErrorsSection)configuration.GetSection( "system.web/customErrors"); // Get the collection CustomErrorCollection customErrorsCollection = customErrorsSection.Errors;

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に収録されているすべての辞書からCustomErrorsSection.Errors プロパティを検索する場合は、下記のリンクをクリックしてください。

- CustomErrorsSection.Errors プロパティのページへのリンク