ConfigurationException ConfigurationException ConfigurationException ConfigurationException Constructors

Definition

Overloads

ConfigurationException() ConfigurationException() ConfigurationException()

Initializes a new instance of the ConfigurationException class.

ConfigurationException(String) ConfigurationException(String) ConfigurationException(String) ConfigurationException(String)

Initializes a new instance of the ConfigurationException class.

ConfigurationException(SerializationInfo, StreamingContext) ConfigurationException(SerializationInfo, StreamingContext) ConfigurationException(SerializationInfo, StreamingContext) ConfigurationException(SerializationInfo, StreamingContext)

Initializes a new instance of the ConfigurationException class.

ConfigurationException(String, Exception) ConfigurationException(String, Exception) ConfigurationException(String, Exception) ConfigurationException(String, Exception)

Initializes a new instance of the ConfigurationException class.

ConfigurationException(String, XmlNode) ConfigurationException(String, XmlNode) ConfigurationException(String, XmlNode) ConfigurationException(String, XmlNode)

Initializes a new instance of the ConfigurationException class.

ConfigurationException(String, Exception, XmlNode) ConfigurationException(String, Exception, XmlNode) ConfigurationException(String, Exception, XmlNode) ConfigurationException(String, Exception, XmlNode)

Initializes a new instance of the ConfigurationException class.

ConfigurationException(String, String, Int32) ConfigurationException(String, String, Int32) ConfigurationException(String, String, Int32) ConfigurationException(String, String, Int32)

Initializes a new instance of the ConfigurationException class.

ConfigurationException(String, Exception, String, Int32) ConfigurationException(String, Exception, String, Int32) ConfigurationException(String, Exception, String, Int32) ConfigurationException(String, Exception, String, Int32)

Initializes a new instance of the ConfigurationException class.

ConfigurationException() ConfigurationException() ConfigurationException()

Warning

This API is now obsolete.

Initializes a new instance of the ConfigurationException class.

public:
 ConfigurationException();
[System.Obsolete("This class is obsolete.  Use System.Configuration.ConfigurationErrorsException")]
[System.Obsolete("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
public ConfigurationException ();
Public Sub New ()

ConfigurationException(String) ConfigurationException(String) ConfigurationException(String) ConfigurationException(String)

Warning

This API is now obsolete.

Initializes a new instance of the ConfigurationException class.

public:
 ConfigurationException(System::String ^ message);
[System.Obsolete("This class is obsolete.  Use System.Configuration.ConfigurationErrorsException")]
[System.Obsolete("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
public ConfigurationException (string message);
new System.Configuration.ConfigurationException : string -> System.Configuration.ConfigurationException
Public Sub New (message As String)

Parameters

message
String String String String

A message describing why this ConfigurationException exception was thrown.

ConfigurationException(SerializationInfo, StreamingContext) ConfigurationException(SerializationInfo, StreamingContext) ConfigurationException(SerializationInfo, StreamingContext) ConfigurationException(SerializationInfo, StreamingContext)

Initializes a new instance of the ConfigurationException class.

protected:
 ConfigurationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ConfigurationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Configuration.ConfigurationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.ConfigurationException
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.

ConfigurationException(String, Exception) ConfigurationException(String, Exception) ConfigurationException(String, Exception) ConfigurationException(String, Exception)

Warning

This API is now obsolete.

Initializes a new instance of the ConfigurationException class.

public:
 ConfigurationException(System::String ^ message, Exception ^ inner);
[System.Obsolete("This class is obsolete.  Use System.Configuration.ConfigurationErrorsException")]
[System.Obsolete("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
public ConfigurationException (string message, Exception inner);
new System.Configuration.ConfigurationException : string * Exception -> System.Configuration.ConfigurationException
Public Sub New (message As String, inner As Exception)

Parameters

message
String String String String

A message describing why this ConfigurationException exception was thrown.

inner
Exception Exception Exception Exception

The inner exception that caused this ConfigurationException to be thrown, if any.

ConfigurationException(String, XmlNode) ConfigurationException(String, XmlNode) ConfigurationException(String, XmlNode) ConfigurationException(String, XmlNode)

Warning

This API is now obsolete.

Initializes a new instance of the ConfigurationException class.

public:
 ConfigurationException(System::String ^ message, System::Xml::XmlNode ^ node);
[System.Obsolete("This class is obsolete.  Use System.Configuration.ConfigurationErrorsException")]
[System.Obsolete("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
public ConfigurationException (string message, System.Xml.XmlNode node);
new System.Configuration.ConfigurationException : string * System.Xml.XmlNode -> System.Configuration.ConfigurationException
Public Sub New (message As String, node As XmlNode)

Parameters

message
String String String String

A message describing why this ConfigurationException exception was thrown.

node
XmlNode XmlNode XmlNode XmlNode

The XmlNode that caused this ConfigurationException to be thrown.

ConfigurationException(String, Exception, XmlNode) ConfigurationException(String, Exception, XmlNode) ConfigurationException(String, Exception, XmlNode) ConfigurationException(String, Exception, XmlNode)

Warning

This API is now obsolete.

Initializes a new instance of the ConfigurationException class.

public:
 ConfigurationException(System::String ^ message, Exception ^ inner, System::Xml::XmlNode ^ node);
[System.Obsolete("This class is obsolete.  Use System.Configuration.ConfigurationErrorsException")]
[System.Obsolete("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
public ConfigurationException (string message, Exception inner, System.Xml.XmlNode node);
new System.Configuration.ConfigurationException : string * Exception * System.Xml.XmlNode -> System.Configuration.ConfigurationException
Public Sub New (message As String, inner As Exception, node As XmlNode)

Parameters

message
String String String String

A message describing why this ConfigurationException exception was thrown.

inner
Exception Exception Exception Exception

The inner exception that caused this ConfigurationException to be thrown, if any.

node
XmlNode XmlNode XmlNode XmlNode

The XmlNode that caused this ConfigurationException to be thrown.

ConfigurationException(String, String, Int32) ConfigurationException(String, String, Int32) ConfigurationException(String, String, Int32) ConfigurationException(String, String, Int32)

Warning

This API is now obsolete.

Initializes a new instance of the ConfigurationException class.

public:
 ConfigurationException(System::String ^ message, System::String ^ filename, int line);
[System.Obsolete("This class is obsolete.  Use System.Configuration.ConfigurationErrorsException")]
[System.Obsolete("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
public ConfigurationException (string message, string filename, int line);
new System.Configuration.ConfigurationException : string * string * int -> System.Configuration.ConfigurationException
Public Sub New (message As String, filename As String, line As Integer)

Parameters

message
String String String String

A message describing why this ConfigurationException exception was thrown.

filename
String String String String

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

line
Int32 Int32 Int32 Int32

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

ConfigurationException(String, Exception, String, Int32) ConfigurationException(String, Exception, String, Int32) ConfigurationException(String, Exception, String, Int32) ConfigurationException(String, Exception, String, Int32)

Warning

This API is now obsolete.

Initializes a new instance of the ConfigurationException class.

public:
 ConfigurationException(System::String ^ message, Exception ^ inner, System::String ^ filename, int line);
[System.Obsolete("This class is obsolete.  Use System.Configuration.ConfigurationErrorsException")]
[System.Obsolete("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")]
public ConfigurationException (string message, Exception inner, string filename, int line);
new System.Configuration.ConfigurationException : string * Exception * string * int -> System.Configuration.ConfigurationException
Public Sub New (message As String, inner As Exception, filename As String, line As Integer)

Parameters

message
String String String String

A message describing why this ConfigurationException exception was thrown.

inner
Exception Exception Exception Exception

The inner exception that caused this ConfigurationException to be thrown, if any.

filename
String String String String

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

line
Int32 Int32 Int32 Int32

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

Applies to