共用方式為


ConfigurationException 建構函式

定義

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

多載

ConfigurationException()
已淘汰.
已淘汰.

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

ConfigurationException(String)
已淘汰.
已淘汰.

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

ConfigurationException(SerializationInfo, StreamingContext)
已淘汰.

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

ConfigurationException(String, Exception)
已淘汰.
已淘汰.

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

ConfigurationException(String, XmlNode)
已淘汰.
已淘汰.

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

ConfigurationException(String, Exception, XmlNode)
已淘汰.
已淘汰.

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

ConfigurationException(String, String, Int32)
已淘汰.
已淘汰.

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

ConfigurationException(String, Exception, String, Int32)
已淘汰.
已淘汰.

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

ConfigurationException()

來源:
ConfigurationException.cs
來源:
ConfigurationException.cs
來源:
ConfigurationException.cs

警告

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

警告

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

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

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

適用於

ConfigurationException(String)

來源:
ConfigurationException.cs
來源:
ConfigurationException.cs
來源:
ConfigurationException.cs

警告

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

警告

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

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

public:
 ConfigurationException(System::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.")]
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")>]
new System.Configuration.ConfigurationException : string -> System.Configuration.ConfigurationException
[<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
Public Sub New (message As String)

參數

message
String

描述這個 ConfigurationException 例外狀況擲回原因的訊息。

屬性

適用於

ConfigurationException(SerializationInfo, StreamingContext)

來源:
ConfigurationException.cs
來源:
ConfigurationException.cs
來源:
ConfigurationException.cs

警告

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

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

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)

參數

info
SerializationInfo

保存要還原序列化之資訊的物件。

context
StreamingContext

關於來源或目的端的內容資訊。

屬性

適用於

ConfigurationException(String, Exception)

來源:
ConfigurationException.cs
來源:
ConfigurationException.cs
來源:
ConfigurationException.cs

警告

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

警告

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

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

public:
 ConfigurationException(System::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.")]
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")>]
new System.Configuration.ConfigurationException : string * Exception -> System.Configuration.ConfigurationException
[<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
Public Sub New (message As String, inner As Exception)

參數

message
String

描述這個 ConfigurationException 例外狀況擲回原因的訊息。

inner
Exception

導致此 ConfigurationException 被擲回的內部例外狀況 (如果有的話)。

屬性

適用於

ConfigurationException(String, XmlNode)

來源:
ConfigurationException.cs
來源:
ConfigurationException.cs
來源:
ConfigurationException.cs

警告

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

警告

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

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

public:
 ConfigurationException(System::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.")]
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")>]
new System.Configuration.ConfigurationException : string * System.Xml.XmlNode -> System.Configuration.ConfigurationException
[<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
Public Sub New (message As String, node As XmlNode)

參數

message
String

描述這個 ConfigurationException 例外狀況擲回原因的訊息。

node
XmlNode

導致擲回此 XmlNodeConfigurationException

屬性

適用於

ConfigurationException(String, Exception, XmlNode)

來源:
ConfigurationException.cs
來源:
ConfigurationException.cs
來源:
ConfigurationException.cs

警告

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

警告

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

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

public:
 ConfigurationException(System::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.")]
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")>]
new System.Configuration.ConfigurationException : string * Exception * System.Xml.XmlNode -> System.Configuration.ConfigurationException
[<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
Public Sub New (message As String, inner As Exception, node As XmlNode)

參數

message
String

描述這個 ConfigurationException 例外狀況擲回原因的訊息。

inner
Exception

導致此 ConfigurationException 被擲回的內部例外狀況 (如果有的話)。

node
XmlNode

導致擲回此 XmlNodeConfigurationException

屬性

適用於

ConfigurationException(String, String, Int32)

來源:
ConfigurationException.cs
來源:
ConfigurationException.cs
來源:
ConfigurationException.cs

警告

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

警告

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

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

public:
 ConfigurationException(System::String ^ message, System::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.")]
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")>]
new System.Configuration.ConfigurationException : string * string * int -> System.Configuration.ConfigurationException
[<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
Public Sub New (message As String, filename As String, line As Integer)

參數

message
String

描述這個 ConfigurationException 例外狀況擲回原因的訊息。

filename
String

導致此 ConfigurationException 擲回的組態檔之路徑。

line
Int32

組態檔中擲回此 ConfigurationException 的行號。

屬性

適用於

ConfigurationException(String, Exception, String, Int32)

來源:
ConfigurationException.cs
來源:
ConfigurationException.cs
來源:
ConfigurationException.cs

警告

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

警告

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

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

public:
 ConfigurationException(System::String ^ message, Exception ^ inner, System::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.")]
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")>]
new System.Configuration.ConfigurationException : string * Exception * string * int -> System.Configuration.ConfigurationException
[<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
Public Sub New (message As String, inner As Exception, filename As String, line As Integer)

參數

message
String

描述這個 ConfigurationException 例外狀況擲回原因的訊息。

inner
Exception

導致此 ConfigurationException 被擲回的內部例外狀況 (如果有的話)。

filename
String

導致此 ConfigurationException 擲回的組態檔之路徑。

line
Int32

組態檔中擲回此 ConfigurationException 的行號。

屬性

適用於