Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ConfigurationErrorsException::Errors Property

 

Gets a collection of errors that detail the reasons this ConfigurationErrorsException exception was thrown.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public:
property ICollection^ Errors {
	ICollection^ get();
}

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
Return to top
Show:
© 2017 Microsoft