ConfigurationErrorsException ConfigurationErrorsException ConfigurationErrorsException ConfigurationErrorsException Constructors

Definition

Overloads

ConfigurationErrorsException() ConfigurationErrorsException() ConfigurationErrorsException()

Initializes a new instance of the ConfigurationErrorsException class.

ConfigurationErrorsException(String, String, Int32) ConfigurationErrorsException(String, String, Int32) ConfigurationErrorsException(String, String, Int32) ConfigurationErrorsException(String, String, Int32)

Initializes a new instance of the ConfigurationErrorsException class.

ConfigurationErrorsException(String, Exception, XmlReader) ConfigurationErrorsException(String, Exception, XmlReader) ConfigurationErrorsException(String, Exception, XmlReader) ConfigurationErrorsException(String, Exception, XmlReader)

Initializes a new instance of the ConfigurationErrorsException class.

ConfigurationErrorsException(String, Exception, XmlNode) ConfigurationErrorsException(String, Exception, XmlNode) ConfigurationErrorsException(String, Exception, XmlNode) ConfigurationErrorsException(String, Exception, XmlNode)

Initializes a new instance of the ConfigurationErrorsException class.

ConfigurationErrorsException(String, XmlReader) ConfigurationErrorsException(String, XmlReader) ConfigurationErrorsException(String, XmlReader) ConfigurationErrorsException(String, XmlReader)

Initializes a new instance of the ConfigurationErrorsException class.

ConfigurationErrorsException(String, Exception, String, Int32) ConfigurationErrorsException(String, Exception, String, Int32) ConfigurationErrorsException(String, Exception, String, Int32) ConfigurationErrorsException(String, Exception, String, Int32)

Initializes a new instance of a ConfigurationErrorsException class.

ConfigurationErrorsException(String, Exception) ConfigurationErrorsException(String, Exception) ConfigurationErrorsException(String, Exception) ConfigurationErrorsException(String, Exception)

Initializes a new instance of the ConfigurationErrorsException class.

ConfigurationErrorsException(SerializationInfo, StreamingContext) ConfigurationErrorsException(SerializationInfo, StreamingContext) ConfigurationErrorsException(SerializationInfo, StreamingContext) ConfigurationErrorsException(SerializationInfo, StreamingContext)

Initializes a new instance of the ConfigurationErrorsException class.

ConfigurationErrorsException(String) ConfigurationErrorsException(String) ConfigurationErrorsException(String) ConfigurationErrorsException(String)

Initializes a new instance of the ConfigurationErrorsException class.

ConfigurationErrorsException(String, XmlNode) ConfigurationErrorsException(String, XmlNode) ConfigurationErrorsException(String, XmlNode) ConfigurationErrorsException(String, XmlNode)

Initializes a new instance of the ConfigurationErrorsException class.

ConfigurationErrorsException() ConfigurationErrorsException() ConfigurationErrorsException()

Initializes a new instance of the ConfigurationErrorsException class.

public:
 ConfigurationErrorsException();
public ConfigurationErrorsException ();
Public Sub New ()

ConfigurationErrorsException(String, String, Int32) ConfigurationErrorsException(String, String, Int32) ConfigurationErrorsException(String, String, Int32) ConfigurationErrorsException(String, String, Int32)

Initializes a new instance of the ConfigurationErrorsException class.

public:
 ConfigurationErrorsException(System::String ^ message, System::String ^ filename, int line);
public ConfigurationErrorsException (string message, string filename, int line);
new System.Configuration.ConfigurationErrorsException : string * string * int -> System.Configuration.ConfigurationErrorsException
Public Sub New (message As String, filename As String, line As Integer)

Parameters

message
String String String String

A message that describes why this ConfigurationErrorsException exception was thrown.

filename
String String String String

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

line
Int32 Int32 Int32 Int32

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

ConfigurationErrorsException(String, Exception, XmlReader) ConfigurationErrorsException(String, Exception, XmlReader) ConfigurationErrorsException(String, Exception, XmlReader) ConfigurationErrorsException(String, Exception, XmlReader)

Initializes a new instance of the ConfigurationErrorsException class.

public:
 ConfigurationErrorsException(System::String ^ message, Exception ^ inner, System::Xml::XmlReader ^ reader);
public ConfigurationErrorsException (string message, Exception inner, System.Xml.XmlReader reader);
new System.Configuration.ConfigurationErrorsException : string * Exception * System.Xml.XmlReader -> System.Configuration.ConfigurationErrorsException
Public Sub New (message As String, inner As Exception, reader As XmlReader)

Parameters

message
String String String String

A message that describes why this ConfigurationErrorsException exception was thrown.

inner
Exception Exception Exception Exception

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

reader
XmlReader XmlReader XmlReader XmlReader

The XmlReader object that caused this ConfigurationErrorsException exception to be thrown.

ConfigurationErrorsException(String, Exception, XmlNode) ConfigurationErrorsException(String, Exception, XmlNode) ConfigurationErrorsException(String, Exception, XmlNode) ConfigurationErrorsException(String, Exception, XmlNode)

Initializes a new instance of the ConfigurationErrorsException class.

public:
 ConfigurationErrorsException(System::String ^ message, Exception ^ inner, System::Xml::XmlNode ^ node);
public ConfigurationErrorsException (string message, Exception inner, System.Xml.XmlNode node);
new System.Configuration.ConfigurationErrorsException : string * Exception * System.Xml.XmlNode -> System.Configuration.ConfigurationErrorsException
Public Sub New (message As String, inner As Exception, node As XmlNode)

Parameters

message
String String String String

A message that describes why this ConfigurationErrorsException exception was thrown.

inner
Exception Exception Exception Exception

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

node
XmlNode XmlNode XmlNode XmlNode

The XmlNode object that caused this ConfigurationErrorsException exception to be thrown.

ConfigurationErrorsException(String, XmlReader) ConfigurationErrorsException(String, XmlReader) ConfigurationErrorsException(String, XmlReader) ConfigurationErrorsException(String, XmlReader)

Initializes a new instance of the ConfigurationErrorsException class.

public:
 ConfigurationErrorsException(System::String ^ message, System::Xml::XmlReader ^ reader);
public ConfigurationErrorsException (string message, System.Xml.XmlReader reader);
new System.Configuration.ConfigurationErrorsException : string * System.Xml.XmlReader -> System.Configuration.ConfigurationErrorsException
Public Sub New (message As String, reader As XmlReader)

Parameters

message
String String String String

A message that describes why this ConfigurationErrorsException exception was thrown.

reader
XmlReader XmlReader XmlReader XmlReader

The XmlReader object that caused this ConfigurationErrorsException exception to be thrown.

ConfigurationErrorsException(String, Exception, String, Int32) ConfigurationErrorsException(String, Exception, String, Int32) ConfigurationErrorsException(String, Exception, String, Int32) ConfigurationErrorsException(String, Exception, String, Int32)

Initializes a new instance of a ConfigurationErrorsException class.

public:
 ConfigurationErrorsException(System::String ^ message, Exception ^ inner, System::String ^ filename, int line);
public ConfigurationErrorsException (string message, Exception inner, string filename, int line);
new System.Configuration.ConfigurationErrorsException : string * Exception * string * int -> System.Configuration.ConfigurationErrorsException
Public Sub New (message As String, inner As Exception, filename As String, line As Integer)

Parameters

message
String String String String

A message that describes why this ConfigurationErrorsException exception was thrown.

inner
Exception Exception Exception Exception

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

filename
String String String String

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

line
Int32 Int32 Int32 Int32

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

ConfigurationErrorsException(String, Exception) ConfigurationErrorsException(String, Exception) ConfigurationErrorsException(String, Exception) ConfigurationErrorsException(String, Exception)

Initializes a new instance of the ConfigurationErrorsException class.

public:
 ConfigurationErrorsException(System::String ^ message, Exception ^ inner);
public ConfigurationErrorsException (string message, Exception inner);
new System.Configuration.ConfigurationErrorsException : string * Exception -> System.Configuration.ConfigurationErrorsException
Public Sub New (message As String, inner As Exception)

Parameters

message
String String String String

A message that describes why this ConfigurationErrorsException exception was thrown.

inner
Exception Exception Exception Exception

The exception that caused this ConfigurationErrorsException exception to be thrown.

ConfigurationErrorsException(SerializationInfo, StreamingContext) ConfigurationErrorsException(SerializationInfo, StreamingContext) ConfigurationErrorsException(SerializationInfo, StreamingContext) ConfigurationErrorsException(SerializationInfo, StreamingContext)

Initializes a new instance of the ConfigurationErrorsException class.

protected:
 ConfigurationErrorsException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ConfigurationErrorsException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Configuration.ConfigurationErrorsException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.ConfigurationErrorsException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

The object that holds the information to deserialize.

context
StreamingContext StreamingContext StreamingContext StreamingContext

Contextual information about the source or destination.

Exceptions

ConfigurationErrorsException(String) ConfigurationErrorsException(String) ConfigurationErrorsException(String) ConfigurationErrorsException(String)

Initializes a new instance of the ConfigurationErrorsException class.

public:
 ConfigurationErrorsException(System::String ^ message);
public ConfigurationErrorsException (string message);
new System.Configuration.ConfigurationErrorsException : string -> System.Configuration.ConfigurationErrorsException
Public Sub New (message As String)

Parameters

message
String String String String

A message that describes why this ConfigurationErrorsException exception was thrown.

ConfigurationErrorsException(String, XmlNode) ConfigurationErrorsException(String, XmlNode) ConfigurationErrorsException(String, XmlNode) ConfigurationErrorsException(String, XmlNode)

Initializes a new instance of the ConfigurationErrorsException class.

public:
 ConfigurationErrorsException(System::String ^ message, System::Xml::XmlNode ^ node);
public ConfigurationErrorsException (string message, System.Xml.XmlNode node);
new System.Configuration.ConfigurationErrorsException : string * System.Xml.XmlNode -> System.Configuration.ConfigurationErrorsException
Public Sub New (message As String, node As XmlNode)

Parameters

message
String String String String

A message that describes why this ConfigurationErrorsException exception was thrown.

node
XmlNode XmlNode XmlNode XmlNode

The XmlNode object that caused this ConfigurationErrorsException exception to be thrown.

Applies to