ConfigurationException Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la classe ConfigurationException.
Surcharges
ConfigurationException() |
Obsolète.
Obsolète.
Initialise une nouvelle instance de la classe ConfigurationException. |
ConfigurationException(String) |
Obsolète.
Obsolète.
Initialise une nouvelle instance de la classe ConfigurationException. |
ConfigurationException(SerializationInfo, StreamingContext) |
Obsolète.
Initialise une nouvelle instance de la classe ConfigurationException. |
ConfigurationException(String, Exception) |
Obsolète.
Obsolète.
Initialise une nouvelle instance de la classe ConfigurationException. |
ConfigurationException(String, XmlNode) |
Obsolète.
Obsolète.
Initialise une nouvelle instance de la classe ConfigurationException. |
ConfigurationException(String, Exception, XmlNode) |
Obsolète.
Obsolète.
Initialise une nouvelle instance de la classe ConfigurationException. |
ConfigurationException(String, String, Int32) |
Obsolète.
Obsolète.
Initialise une nouvelle instance de la classe ConfigurationException. |
ConfigurationException(String, Exception, String, Int32) |
Obsolète.
Obsolète.
Initialise une nouvelle instance de la classe ConfigurationException. |
ConfigurationException()
- Source:
- ConfigurationException.cs
- Source:
- ConfigurationException.cs
- Source:
- ConfigurationException.cs
Attention
This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException
Attention
ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.
Initialise une nouvelle instance de la classe 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 ()
- Attributs
S’applique à
ConfigurationException(String)
- Source:
- ConfigurationException.cs
- Source:
- ConfigurationException.cs
- Source:
- ConfigurationException.cs
Attention
This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException
Attention
ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.
Initialise une nouvelle instance de la classe 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)
Paramètres
- message
- String
Message expliquant pourquoi cette exception ConfigurationException a été levée.
- Attributs
S’applique à
ConfigurationException(SerializationInfo, StreamingContext)
- Source:
- ConfigurationException.cs
- Source:
- ConfigurationException.cs
- Source:
- ConfigurationException.cs
Attention
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Initialise une nouvelle instance de la classe 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)
Paramètres
- info
- SerializationInfo
Objet qui contient les informations à désérialiser.
- context
- StreamingContext
Informations contextuelles sur la source ou la destination.
- Attributs
S’applique à
ConfigurationException(String, Exception)
- Source:
- ConfigurationException.cs
- Source:
- ConfigurationException.cs
- Source:
- ConfigurationException.cs
Attention
This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException
Attention
ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.
Initialise une nouvelle instance de la classe 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)
Paramètres
- message
- String
Message expliquant pourquoi cette exception ConfigurationException a été levée.
- inner
- Exception
Exception interne qui a provoqué la levée de cette exception ConfigurationException, le cas échéant.
- Attributs
S’applique à
ConfigurationException(String, XmlNode)
- Source:
- ConfigurationException.cs
- Source:
- ConfigurationException.cs
- Source:
- ConfigurationException.cs
Attention
This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException
Attention
ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.
Initialise une nouvelle instance de la classe 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)
Paramètres
- message
- String
Message expliquant pourquoi cette exception ConfigurationException a été levée.
- node
- XmlNode
XmlNode qui entraîne la levée de l'exception ConfigurationException.
- Attributs
S’applique à
ConfigurationException(String, Exception, XmlNode)
- Source:
- ConfigurationException.cs
- Source:
- ConfigurationException.cs
- Source:
- ConfigurationException.cs
Attention
This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException
Attention
ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.
Initialise une nouvelle instance de la classe 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)
Paramètres
- message
- String
Message expliquant pourquoi cette exception ConfigurationException a été levée.
- inner
- Exception
Exception interne qui a provoqué la levée de cette exception ConfigurationException, le cas échéant.
- node
- XmlNode
XmlNode qui entraîne la levée de l'exception ConfigurationException.
- Attributs
S’applique à
ConfigurationException(String, String, Int32)
- Source:
- ConfigurationException.cs
- Source:
- ConfigurationException.cs
- Source:
- ConfigurationException.cs
Attention
This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException
Attention
ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.
Initialise une nouvelle instance de la classe 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)
Paramètres
- message
- String
Message expliquant pourquoi cette exception ConfigurationException a été levée.
- filename
- String
Chemin d'accès au fichier de configuration qui a provoqué la levée de cette ConfigurationException.
- line
- Int32
Numéro de la ligne du fichier de configuration dans laquelle cette exception ConfigurationException a été levée.
- Attributs
S’applique à
ConfigurationException(String, Exception, String, Int32)
- Source:
- ConfigurationException.cs
- Source:
- ConfigurationException.cs
- Source:
- ConfigurationException.cs
Attention
This class is obsolete, to create a new exception create a System.Configuration!System.Configuration.ConfigurationErrorsException
Attention
ConfigurationException has been deprecated. Use System.Configuration.ConfigurationErrorsException instead.
Initialise une nouvelle instance de la classe 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)
Paramètres
- message
- String
Message expliquant pourquoi cette exception ConfigurationException a été levée.
- inner
- Exception
Exception interne qui a provoqué la levée de cette exception ConfigurationException, le cas échéant.
- filename
- String
Chemin d'accès au fichier de configuration qui a provoqué la levée de cette ConfigurationException.
- line
- Int32
Numéro de la ligne du fichier de configuration dans laquelle cette exception ConfigurationException a été levée.
- Attributs