संपादित करें

इसके माध्यम से साझा किया गया


ConfigurationException Constructors

Definition

Initializes a new instance of the ConfigurationException class.

Overloads

ConfigurationException()
Obsolete.
Obsolete.

Initializes a new instance of the ConfigurationException class.

ConfigurationException(String)
Obsolete.
Obsolete.

Initializes a new instance of the ConfigurationException class.

ConfigurationException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the ConfigurationException class.

ConfigurationException(String, Exception)
Obsolete.
Obsolete.

Initializes a new instance of the ConfigurationException class.

ConfigurationException(String, XmlNode)
Obsolete.
Obsolete.

Initializes a new instance of the ConfigurationException class.

ConfigurationException(String, Exception, XmlNode)
Obsolete.
Obsolete.

Initializes a new instance of the ConfigurationException class.

ConfigurationException(String, String, Int32)
Obsolete.
Obsolete.

Initializes a new instance of the ConfigurationException class.

ConfigurationException(String, Exception, String, Int32)
Obsolete.
Obsolete.

Initializes a new instance of the ConfigurationException class.

ConfigurationException()

Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs

Caution

ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.

Caution

This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException

Initializes a new instance of the ConfigurationException class.

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

Applies to

ConfigurationException(String)

Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs

Caution

ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.

Caution

This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException

Initializes a new instance of the ConfigurationException class.

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

Parameters

message
String

A message describing why this ConfigurationException exception was thrown.

Attributes

Applies to

ConfigurationException(SerializationInfo, StreamingContext)

Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs

Caution

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

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);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
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
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
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

The object that holds the information to deserialize.

context
StreamingContext

Contextual information about the source or destination.

Attributes

Applies to

ConfigurationException(String, Exception)

Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs

Caution

ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.

Caution

This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException

Initializes a new instance of the ConfigurationException class.

public:
 ConfigurationException(System::String ^ message, Exception ^ inner);
[System.Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")]
public ConfigurationException (string message, Exception inner);
public ConfigurationException (string message, Exception inner);
[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.Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")>]
new System.Configuration.ConfigurationException : string * Exception -> System.Configuration.ConfigurationException
new System.Configuration.ConfigurationException : string * Exception -> System.Configuration.ConfigurationException
[<System.Obsolete("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")>]
new System.Configuration.ConfigurationException : string * Exception -> System.Configuration.ConfigurationException
Public Sub New (message As String, inner As Exception)

Parameters

message
String

A message describing why this ConfigurationException exception was thrown.

inner
Exception

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

Attributes

Applies to

ConfigurationException(String, XmlNode)

Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs

Caution

ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.

Caution

This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException

Initializes a new instance of the ConfigurationException class.

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

Parameters

message
String

A message describing why this ConfigurationException exception was thrown.

node
XmlNode

The XmlNode that caused this ConfigurationException to be thrown.

Attributes

Applies to

ConfigurationException(String, Exception, XmlNode)

Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs

Caution

ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.

Caution

This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException

Initializes a new instance of the ConfigurationException class.

public:
 ConfigurationException(System::String ^ message, Exception ^ inner, System::Xml::XmlNode ^ node);
[System.Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")]
public ConfigurationException (string message, Exception inner, System.Xml.XmlNode node);
public ConfigurationException (string message, Exception inner, System.Xml.XmlNode node);
[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);
[<System.Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")>]
new System.Configuration.ConfigurationException : string * Exception * System.Xml.XmlNode -> System.Configuration.ConfigurationException
new System.Configuration.ConfigurationException : string * Exception * System.Xml.XmlNode -> System.Configuration.ConfigurationException
[<System.Obsolete("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")>]
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

A message describing why this ConfigurationException exception was thrown.

inner
Exception

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

node
XmlNode

The XmlNode that caused this ConfigurationException to be thrown.

Attributes

Applies to

ConfigurationException(String, String, Int32)

Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs

Caution

ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.

Caution

This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException

Initializes a new instance of the ConfigurationException class.

public:
 ConfigurationException(System::String ^ message, System::String ^ filename, int line);
[System.Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")]
public ConfigurationException (string message, string filename, int line);
public ConfigurationException (string message, string filename, int line);
[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);
[<System.Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")>]
new System.Configuration.ConfigurationException : string * string * int -> System.Configuration.ConfigurationException
new System.Configuration.ConfigurationException : string * string * int -> System.Configuration.ConfigurationException
[<System.Obsolete("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")>]
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

A message describing why this ConfigurationException exception was thrown.

filename
String

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

line
Int32

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

Attributes

Applies to

ConfigurationException(String, Exception, String, Int32)

Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs

Caution

ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.

Caution

This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException

Initializes a new instance of the ConfigurationException class.

public:
 ConfigurationException(System::String ^ message, Exception ^ inner, System::String ^ filename, int line);
[System.Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")]
public ConfigurationException (string message, Exception inner, string filename, int line);
public ConfigurationException (string message, Exception inner, string filename, int line);
[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);
[<System.Obsolete("ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.")>]
new System.Configuration.ConfigurationException : string * Exception * string * int -> System.Configuration.ConfigurationException
new System.Configuration.ConfigurationException : string * Exception * string * int -> System.Configuration.ConfigurationException
[<System.Obsolete("This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException")>]
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

A message describing why this ConfigurationException exception was thrown.

inner
Exception

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

filename
String

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

line
Int32

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

Attributes

Applies to