ConfigurationErrorsException 构造函数

定义

初始化 ConfigurationErrorsException 类的新实例。

重载

ConfigurationErrorsException()

初始化 ConfigurationErrorsException 类的新实例。

ConfigurationErrorsException(String, String, Int32)

初始化 ConfigurationErrorsException 类的新实例。

ConfigurationErrorsException(String, Exception, XmlReader)

初始化 ConfigurationErrorsException 类的新实例。

ConfigurationErrorsException(String, Exception, XmlNode)

初始化 ConfigurationErrorsException 类的新实例。

ConfigurationErrorsException(String, XmlReader)

初始化 ConfigurationErrorsException 类的新实例。

ConfigurationErrorsException(String, Exception, String, Int32)

初始化 ConfigurationErrorsException 类的新实例。

ConfigurationErrorsException(String, Exception)

初始化 ConfigurationErrorsException 类的新实例。

ConfigurationErrorsException(SerializationInfo, StreamingContext)
已过时.

初始化 ConfigurationErrorsException 类的新实例。

ConfigurationErrorsException(String)

初始化 ConfigurationErrorsException 类的新实例。

ConfigurationErrorsException(String, XmlNode)

初始化 ConfigurationErrorsException 类的新实例。

ConfigurationErrorsException()

Source:
ConfigurationErrorsException.cs
Source:
ConfigurationErrorsException.cs
Source:
ConfigurationErrorsException.cs

初始化 ConfigurationErrorsException 类的新实例。

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

适用于

ConfigurationErrorsException(String, String, Int32)

Source:
ConfigurationErrorsException.cs
Source:
ConfigurationErrorsException.cs
Source:
ConfigurationErrorsException.cs

初始化 ConfigurationErrorsException 类的新实例。

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)

参数

message
String

描述引发此 ConfigurationErrorsException 异常的原因的消息。

filename
String

导致引发此 ConfigurationErrorsException 异常的配置文件的路径。

line
Int32

配置文件中引发此 ConfigurationErrorsException 异常处的行号。

适用于

ConfigurationErrorsException(String, Exception, XmlReader)

Source:
ConfigurationErrorsException.cs
Source:
ConfigurationErrorsException.cs
Source:
ConfigurationErrorsException.cs

初始化 ConfigurationErrorsException 类的新实例。

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)

参数

message
String

描述引发此 ConfigurationErrorsException 异常的原因的消息。

inner
Exception

导致引发此 ConfigurationErrorsException 异常的内部异常。

reader
XmlReader

导致引发此 XmlReader 异常的 ConfigurationErrorsException 对象。

适用于

ConfigurationErrorsException(String, Exception, XmlNode)

Source:
ConfigurationErrorsException.cs
Source:
ConfigurationErrorsException.cs
Source:
ConfigurationErrorsException.cs

初始化 ConfigurationErrorsException 类的新实例。

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)

参数

message
String

描述引发此 ConfigurationErrorsException 异常的原因的消息。

inner
Exception

导致引发此 ConfigurationErrorsException 异常的内部异常。

node
XmlNode

导致引发此 XmlNode 异常的 ConfigurationErrorsException 对象。

适用于

ConfigurationErrorsException(String, XmlReader)

Source:
ConfigurationErrorsException.cs
Source:
ConfigurationErrorsException.cs
Source:
ConfigurationErrorsException.cs

初始化 ConfigurationErrorsException 类的新实例。

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)

参数

message
String

描述引发此 ConfigurationErrorsException 异常的原因的消息。

reader
XmlReader

导致引发此 XmlReader 异常的 ConfigurationErrorsException 对象。

适用于

ConfigurationErrorsException(String, Exception, String, Int32)

Source:
ConfigurationErrorsException.cs
Source:
ConfigurationErrorsException.cs
Source:
ConfigurationErrorsException.cs

初始化 ConfigurationErrorsException 类的新实例。

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)

参数

message
String

描述引发此 ConfigurationErrorsException 异常的原因的消息。

inner
Exception

导致引发此 ConfigurationErrorsException 异常的内部异常。

filename
String

导致引发此 ConfigurationErrorsException 异常的配置文件的路径。

line
Int32

配置文件中引发此 ConfigurationErrorsException 异常处的行号。

适用于

ConfigurationErrorsException(String, Exception)

Source:
ConfigurationErrorsException.cs
Source:
ConfigurationErrorsException.cs
Source:
ConfigurationErrorsException.cs

初始化 ConfigurationErrorsException 类的新实例。

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)

参数

message
String

描述引发此 ConfigurationErrorsException 异常的原因的消息。

inner
Exception

导致引发此 ConfigurationErrorsException 异常的异常。

适用于

ConfigurationErrorsException(SerializationInfo, StreamingContext)

Source:
ConfigurationErrorsException.cs
Source:
ConfigurationErrorsException.cs
Source:
ConfigurationErrorsException.cs

注意

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

初始化 ConfigurationErrorsException 类的新实例。

protected:
 ConfigurationErrorsException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ConfigurationErrorsException (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 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
[<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.ConfigurationErrorsException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.ConfigurationErrorsException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

参数

info
SerializationInfo

包含要反序列化的信息的对象。

context
StreamingContext

有关源或目标的上下文信息。

属性

例外

适用于

ConfigurationErrorsException(String)

Source:
ConfigurationErrorsException.cs
Source:
ConfigurationErrorsException.cs
Source:
ConfigurationErrorsException.cs

初始化 ConfigurationErrorsException 类的新实例。

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

参数

message
String

描述引发此 ConfigurationErrorsException 异常的原因的消息。

适用于

ConfigurationErrorsException(String, XmlNode)

Source:
ConfigurationErrorsException.cs
Source:
ConfigurationErrorsException.cs
Source:
ConfigurationErrorsException.cs

初始化 ConfigurationErrorsException 类的新实例。

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)

参数

message
String

描述引发此 ConfigurationErrorsException 异常的原因的消息。

node
XmlNode

导致引发此 XmlNode 异常的 ConfigurationErrorsException 对象。

适用于