ConfigurationErrorsException::Errors Property
.NET Framework (current version)
Gets a collection of errors that detail the reasons this ConfigurationErrorsException exception was thrown.
Assembly: System.Configuration (in System.Configuration.dll)
Property Value
Type: System.Collections::ICollection^An ICollection object that contains errors that identify the reasons this ConfigurationErrorsException exception was thrown.
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.
.NET Framework
Available since 2.0
Available since 2.0
Show: