Udostępnij za pośrednictwem


ConfigurationException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy ConfigurationException.

Przeciążenia

ConfigurationException()
Przestarzałe.
Przestarzałe.

Inicjuje nowe wystąpienie klasy ConfigurationException.

ConfigurationException(String)
Przestarzałe.
Przestarzałe.

Inicjuje nowe wystąpienie klasy ConfigurationException.

ConfigurationException(SerializationInfo, StreamingContext)
Przestarzałe.

Inicjuje nowe wystąpienie klasy ConfigurationException.

ConfigurationException(String, Exception)
Przestarzałe.
Przestarzałe.

Inicjuje nowe wystąpienie klasy ConfigurationException.

ConfigurationException(String, XmlNode)
Przestarzałe.
Przestarzałe.

Inicjuje nowe wystąpienie klasy ConfigurationException.

ConfigurationException(String, Exception, XmlNode)
Przestarzałe.
Przestarzałe.

Inicjuje nowe wystąpienie klasy ConfigurationException.

ConfigurationException(String, String, Int32)
Przestarzałe.
Przestarzałe.

Inicjuje nowe wystąpienie klasy ConfigurationException.

ConfigurationException(String, Exception, String, Int32)
Przestarzałe.
Przestarzałe.

Inicjuje nowe wystąpienie klasy ConfigurationException.

ConfigurationException()

Źródło:
ConfigurationException.cs
Źródło:
ConfigurationException.cs
Źródło:
ConfigurationException.cs

Przestroga

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

Przestroga

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

Inicjuje nowe wystąpienie klasy 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 ()
Atrybuty

Dotyczy

ConfigurationException(String)

Źródło:
ConfigurationException.cs
Źródło:
ConfigurationException.cs
Źródło:
ConfigurationException.cs

Przestroga

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

Przestroga

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

Inicjuje nowe wystąpienie klasy 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)

Parametry

message
String

Komunikat opisujący, dlaczego ten ConfigurationException wyjątek został zgłoszony.

Atrybuty

Dotyczy

ConfigurationException(SerializationInfo, StreamingContext)

Źródło:
ConfigurationException.cs
Źródło:
ConfigurationException.cs
Źródło:
ConfigurationException.cs

Przestroga

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

Inicjuje nowe wystąpienie klasy 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)

Parametry

info
SerializationInfo

Obiekt, który przechowuje informacje do deserializacji.

context
StreamingContext

Kontekstowe informacje o źródle lub miejscu docelowym.

Atrybuty

Dotyczy

ConfigurationException(String, Exception)

Źródło:
ConfigurationException.cs
Źródło:
ConfigurationException.cs
Źródło:
ConfigurationException.cs

Przestroga

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

Przestroga

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

Inicjuje nowe wystąpienie klasy 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)

Parametry

message
String

Komunikat opisujący, dlaczego ten ConfigurationException wyjątek został zgłoszony.

inner
Exception

Wyjątek wewnętrzny, który spowodował zgłoszenie, ConfigurationException jeśli istnieje.

Atrybuty

Dotyczy

ConfigurationException(String, XmlNode)

Źródło:
ConfigurationException.cs
Źródło:
ConfigurationException.cs
Źródło:
ConfigurationException.cs

Przestroga

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

Przestroga

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

Inicjuje nowe wystąpienie klasy 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)

Parametry

message
String

Komunikat opisujący, dlaczego ten ConfigurationException wyjątek został zgłoszony.

node
XmlNode

To XmlNode spowodowało, że to ConfigurationException zostanie rzucone.

Atrybuty

Dotyczy

ConfigurationException(String, Exception, XmlNode)

Źródło:
ConfigurationException.cs
Źródło:
ConfigurationException.cs
Źródło:
ConfigurationException.cs

Przestroga

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

Przestroga

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

Inicjuje nowe wystąpienie klasy 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)

Parametry

message
String

Komunikat opisujący, dlaczego ten ConfigurationException wyjątek został zgłoszony.

inner
Exception

Wyjątek wewnętrzny, który spowodował zgłoszenie, ConfigurationException jeśli istnieje.

node
XmlNode

To XmlNode spowodowało, że to ConfigurationException zostanie rzucone.

Atrybuty

Dotyczy

ConfigurationException(String, String, Int32)

Źródło:
ConfigurationException.cs
Źródło:
ConfigurationException.cs
Źródło:
ConfigurationException.cs

Przestroga

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

Przestroga

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

Inicjuje nowe wystąpienie klasy 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)

Parametry

message
String

Komunikat opisujący, dlaczego ten ConfigurationException wyjątek został zgłoszony.

filename
String

Ścieżka do pliku konfiguracji, który spowodował zgłoszenie tego ConfigurationException błędu.

line
Int32

Numer wiersza w pliku konfiguracji, w którym został zgłoszony ConfigurationException .

Atrybuty

Dotyczy

ConfigurationException(String, Exception, String, Int32)

Źródło:
ConfigurationException.cs
Źródło:
ConfigurationException.cs
Źródło:
ConfigurationException.cs

Przestroga

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

Przestroga

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

Inicjuje nowe wystąpienie klasy 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)

Parametry

message
String

Komunikat opisujący, dlaczego ten ConfigurationException wyjątek został zgłoszony.

inner
Exception

Wyjątek wewnętrzny, który spowodował zgłoszenie, ConfigurationException jeśli istnieje.

filename
String

Ścieżka do pliku konfiguracji, który spowodował zgłoszenie tego ConfigurationException błędu.

line
Int32

Numer wiersza w pliku konfiguracji, w którym został zgłoszony ConfigurationException .

Atrybuty

Dotyczy