ConfigurationErrorsException Constructor (String, String, Int32)

 

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

Initializes a new instance of the ConfigurationErrorsException class.

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

public ConfigurationErrorsException(
	string message,
	string filename,
	int line
)

Parameters

message
Type: System.String

A message that describes why this ConfigurationErrorsException exception was 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: