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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk