Compartir a través de


ConfigurationException Constructores

Definición

Inicializa una nueva instancia de la clase ConfigurationException.

Sobrecargas

ConfigurationException()
Obsoletos.
Obsoletos.

Inicializa una nueva instancia de la clase ConfigurationException.

ConfigurationException(String)
Obsoletos.
Obsoletos.

Inicializa una nueva instancia de la clase ConfigurationException.

ConfigurationException(SerializationInfo, StreamingContext)
Obsoletos.

Inicializa una nueva instancia de la clase ConfigurationException.

ConfigurationException(String, Exception)
Obsoletos.
Obsoletos.

Inicializa una nueva instancia de la clase ConfigurationException.

ConfigurationException(String, XmlNode)
Obsoletos.
Obsoletos.

Inicializa una nueva instancia de la clase ConfigurationException.

ConfigurationException(String, Exception, XmlNode)
Obsoletos.
Obsoletos.

Inicializa una nueva instancia de la clase ConfigurationException.

ConfigurationException(String, String, Int32)
Obsoletos.
Obsoletos.

Inicializa una nueva instancia de la clase ConfigurationException.

ConfigurationException(String, Exception, String, Int32)
Obsoletos.
Obsoletos.

Inicializa una nueva instancia de la clase ConfigurationException.

ConfigurationException()

Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs

Precaución

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

Precaución

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

Inicializa una nueva instancia de la clase 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 ()
Atributos

Se aplica a

ConfigurationException(String)

Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs

Precaución

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

Precaución

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

Inicializa una nueva instancia de la clase 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)

Parámetros

message
String

Mensaje que describe por qué se ha producido esta excepción ConfigurationException.

Atributos

Se aplica a

ConfigurationException(SerializationInfo, StreamingContext)

Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs

Precaución

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

Inicializa una nueva instancia de la clase 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)

Parámetros

info
SerializationInfo

Objeto que contiene la información que se va a deserializar.

context
StreamingContext

Información contextual acerca del origen o del destino.

Atributos

Se aplica a

ConfigurationException(String, Exception)

Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs

Precaución

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

Precaución

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

Inicializa una nueva instancia de la clase 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)

Parámetros

message
String

Mensaje que describe por qué se ha producido esta excepción ConfigurationException.

inner
Exception

Excepción interna que ha hecho que se produzca esta excepción ConfigurationException, si existe alguna.

Atributos

Se aplica a

ConfigurationException(String, XmlNode)

Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs

Precaución

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

Precaución

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

Inicializa una nueva instancia de la clase 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)

Parámetros

message
String

Mensaje que describe por qué se ha producido esta excepción ConfigurationException.

node
XmlNode

XmlNode que ha hecho que se produzca esta excepción ConfigurationException.

Atributos

Se aplica a

ConfigurationException(String, Exception, XmlNode)

Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs

Precaución

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

Precaución

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

Inicializa una nueva instancia de la clase 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)

Parámetros

message
String

Mensaje que describe por qué se ha producido esta excepción ConfigurationException.

inner
Exception

Excepción interna que ha hecho que se produzca esta excepción ConfigurationException, si existe alguna.

node
XmlNode

XmlNode que ha hecho que se produzca esta excepción ConfigurationException.

Atributos

Se aplica a

ConfigurationException(String, String, Int32)

Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs

Precaución

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

Precaución

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

Inicializa una nueva instancia de la clase 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)

Parámetros

message
String

Mensaje que describe por qué se ha producido esta excepción ConfigurationException.

filename
String

Ruta de acceso al archivo de configuración que ha provocado que se produzca esta excepción ConfigurationException.

line
Int32

Número de línea del archivo de configuración en que se ha producido esta excepción ConfigurationException.

Atributos

Se aplica a

ConfigurationException(String, Exception, String, Int32)

Source:
ConfigurationException.cs
Source:
ConfigurationException.cs
Source:
ConfigurationException.cs

Precaución

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

Precaución

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

Inicializa una nueva instancia de la clase 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)

Parámetros

message
String

Mensaje que describe por qué se ha producido esta excepción ConfigurationException.

inner
Exception

Excepción interna que ha hecho que se produzca esta excepción ConfigurationException, si existe alguna.

filename
String

Ruta de acceso al archivo de configuración que ha provocado que se produzca esta excepción ConfigurationException.

line
Int32

Número de línea del archivo de configuración en que se ha producido esta excepción ConfigurationException.

Atributos

Se aplica a