Sdílet prostřednictvím


ConfigurationException Konstruktory

Definice

Inicializuje novou instanci ConfigurationException třídy.

Přetížení

ConfigurationException()
Zastaralé.
Zastaralé.

Inicializuje novou instanci ConfigurationException třídy.

ConfigurationException(String)
Zastaralé.
Zastaralé.

Inicializuje novou instanci ConfigurationException třídy.

ConfigurationException(SerializationInfo, StreamingContext)
Zastaralé.

Inicializuje novou instanci ConfigurationException třídy.

ConfigurationException(String, Exception)
Zastaralé.
Zastaralé.

Inicializuje novou instanci ConfigurationException třídy.

ConfigurationException(String, XmlNode)
Zastaralé.
Zastaralé.

Inicializuje novou instanci ConfigurationException třídy.

ConfigurationException(String, Exception, XmlNode)
Zastaralé.
Zastaralé.

Inicializuje novou instanci ConfigurationException třídy.

ConfigurationException(String, String, Int32)
Zastaralé.
Zastaralé.

Inicializuje novou instanci ConfigurationException třídy.

ConfigurationException(String, Exception, String, Int32)
Zastaralé.
Zastaralé.

Inicializuje novou instanci ConfigurationException třídy.

ConfigurationException()

Zdroj:
ConfigurationException.cs
Zdroj:
ConfigurationException.cs
Zdroj:
ConfigurationException.cs

Upozornění

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

Upozornění

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

Inicializuje novou instanci ConfigurationException třídy.

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

Platí pro

ConfigurationException(String)

Zdroj:
ConfigurationException.cs
Zdroj:
ConfigurationException.cs
Zdroj:
ConfigurationException.cs

Upozornění

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

Upozornění

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

Inicializuje novou instanci ConfigurationException třídy.

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)

Parametry

message
String

Zpráva popisující, proč byla tato ConfigurationException výjimka vyvolán.

Atributy

Platí pro

ConfigurationException(SerializationInfo, StreamingContext)

Zdroj:
ConfigurationException.cs
Zdroj:
ConfigurationException.cs
Zdroj:
ConfigurationException.cs

Upozornění

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

Inicializuje novou instanci ConfigurationException třídy.

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)

Parametry

info
SerializationInfo

Objekt, který obsahuje informace deserializovat.

context
StreamingContext

Kontextové informace o zdroji nebo cíli.

Atributy

Platí pro

ConfigurationException(String, Exception)

Zdroj:
ConfigurationException.cs
Zdroj:
ConfigurationException.cs
Zdroj:
ConfigurationException.cs

Upozornění

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

Upozornění

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

Inicializuje novou instanci ConfigurationException třídy.

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)

Parametry

message
String

Zpráva popisující, proč byla tato ConfigurationException výjimka vyvolán.

inner
Exception

Vnitřní výjimka, která to ConfigurationException způsobila, je vyvoláná, pokud existuje.

Atributy

Platí pro

ConfigurationException(String, XmlNode)

Zdroj:
ConfigurationException.cs
Zdroj:
ConfigurationException.cs
Zdroj:
ConfigurationException.cs

Upozornění

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

Upozornění

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

Inicializuje novou instanci ConfigurationException třídy.

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)

Parametry

message
String

Zpráva popisující, proč byla tato ConfigurationException výjimka vyvolán.

node
XmlNode

To XmlNode , co to ConfigurationException způsobilo, bylo vyhozeno.

Atributy

Platí pro

ConfigurationException(String, Exception, XmlNode)

Zdroj:
ConfigurationException.cs
Zdroj:
ConfigurationException.cs
Zdroj:
ConfigurationException.cs

Upozornění

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

Upozornění

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

Inicializuje novou instanci ConfigurationException třídy.

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)

Parametry

message
String

Zpráva popisující, proč byla tato ConfigurationException výjimka vyvolán.

inner
Exception

Vnitřní výjimka, která to ConfigurationException způsobila, je vyvoláná, pokud existuje.

node
XmlNode

To XmlNode , co to ConfigurationException způsobilo, bylo vyhozeno.

Atributy

Platí pro

ConfigurationException(String, String, Int32)

Zdroj:
ConfigurationException.cs
Zdroj:
ConfigurationException.cs
Zdroj:
ConfigurationException.cs

Upozornění

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

Upozornění

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

Inicializuje novou instanci ConfigurationException třídy.

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)

Parametry

message
String

Zpráva popisující, proč byla tato ConfigurationException výjimka vyvolán.

filename
String

Cesta ke konfiguračnímu souboru, který způsobil toto ConfigurationException vyvolání.

line
Int32

Číslo řádku v konfiguračním souboru, na kterém ConfigurationException byl vyvolán.

Atributy

Platí pro

ConfigurationException(String, Exception, String, Int32)

Zdroj:
ConfigurationException.cs
Zdroj:
ConfigurationException.cs
Zdroj:
ConfigurationException.cs

Upozornění

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

Upozornění

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

Inicializuje novou instanci ConfigurationException třídy.

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)

Parametry

message
String

Zpráva popisující, proč byla tato ConfigurationException výjimka vyvolán.

inner
Exception

Vnitřní výjimka, která to ConfigurationException způsobila, je vyvoláná, pokud existuje.

filename
String

Cesta ke konfiguračnímu souboru, který způsobil toto ConfigurationException vyvolání.

line
Int32

Číslo řádku v konfiguračním souboru, na kterém ConfigurationException byl vyvolán.

Atributy

Platí pro