CustomErrorsSection.Errors プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > CustomErrorsSection.Errors プロパティの意味・解説 

CustomErrorsSection.Errors プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

CustomError オブジェクトコレクション取得します

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

Public ReadOnly Property
 Errors As CustomErrorCollection
Dim instance As CustomErrorsSection
Dim value As CustomErrorCollection

value = instance.Errors
public CustomErrorCollection Errors { get;
 }
public:
property CustomErrorCollection^ Errors {
    CustomErrorCollection^ get ();
}
/** @property */
public CustomErrorCollection get_Errors ()
public function get Errors
 () : CustomErrorCollection

プロパティ
カスタム エラー格納している 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;

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
CustomErrorsSection クラス
CustomErrorsSection メンバ
System.Web.Configuration 名前空間
その他の技術情報
customErrors 要素 (ASP.NET 設定スキーマ)


このページでは「.NET Framework クラス ライブラリ リファレンス」からCustomErrorsSection.Errors プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からCustomErrorsSection.Errors プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からCustomErrorsSection.Errors プロパティ を検索

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

辞書ショートカット

すべての辞書の索引

「CustomErrorsSection.Errors プロパティ」の関連用語

CustomErrorsSection.Errors プロパティのお隣キーワード
検索ランキング

   

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



CustomErrorsSection.Errors プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS