ConfigurationErrorsException.Errors Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of errors that detail the reasons this ConfigurationErrorsException exception was thrown.
public:
property System::Collections::ICollection ^ Errors { System::Collections::ICollection ^ get(); };
public System.Collections.ICollection Errors { get; }
member this.Errors : System.Collections.ICollection
Public ReadOnly Property Errors As ICollection
Property Value
An ICollection object that contains errors that identify the reasons this ConfigurationErrorsException exception was thrown.
Remarks
The Errors property collects as many errors as possible that might occur during an operation, such as reading a configuration file. The exception thrown shows only the first error. You can access Errors to see all the errors issued.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應