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 Constructor (String^, Exception^, String^, Int32)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of a ConfigurationErrorsException class.

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

public:
ConfigurationErrorsException(
	String^ message,
	Exception^ inner,
	String^ filename,
	int line
)

Parameters

message
Type: System::String^

A message that describes why this ConfigurationErrorsException exception was thrown.

inner
Type: System::Exception^

The inner exception that caused this ConfigurationErrorsException exception to be thrown.

filename
Type: System::String^

The path to the configuration file that caused this ConfigurationErrorsException exception to be thrown.

line
Type: System::Int32

The line number within the configuration file at which this ConfigurationErrorsException exception was thrown.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft