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()

來源:
ConfigurationErrorsException.cs
來源:
ConfigurationErrorsException.cs
來源:
ConfigurationErrorsException.cs

初始化 ConfigurationErrorsException 類別的新執行個體。

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

適用於

ConfigurationErrorsException(String, String, Int32)

來源:
ConfigurationErrorsException.cs
來源:
ConfigurationErrorsException.cs
來源:
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)

來源:
ConfigurationErrorsException.cs
來源:
ConfigurationErrorsException.cs
來源:
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)

來源:
ConfigurationErrorsException.cs
來源:
ConfigurationErrorsException.cs
來源:
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)

來源:
ConfigurationErrorsException.cs
來源:
ConfigurationErrorsException.cs
來源:
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)

來源:
ConfigurationErrorsException.cs
來源:
ConfigurationErrorsException.cs
來源:
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)

來源:
ConfigurationErrorsException.cs
來源:
ConfigurationErrorsException.cs
來源:
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)

來源:
ConfigurationErrorsException.cs
來源:
ConfigurationErrorsException.cs
來源:
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)

來源:
ConfigurationErrorsException.cs
來源:
ConfigurationErrorsException.cs
來源:
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)

來源:
ConfigurationErrorsException.cs
來源:
ConfigurationErrorsException.cs
來源:
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 物件。

適用於