Partager via


SettingsPropertyWrongTypeException Constructeurs

Définition

Initialise une nouvelle instance de la classe SettingsPropertyWrongTypeException.

Surcharges

SettingsPropertyWrongTypeException()

Initialise une nouvelle instance de la classe SettingsPropertyWrongTypeException.

SettingsPropertyWrongTypeException(String)

Initialise une nouvelle instance de la classe SettingsPropertyWrongTypeException en fonction du paramètre fourni.

SettingsPropertyWrongTypeException(SerializationInfo, StreamingContext)
Obsolète.

Initialise une nouvelle instance de la classe SettingsPropertyWrongTypeException en fonction des paramètres fournis.

SettingsPropertyWrongTypeException(String, Exception)

Initialise une nouvelle instance de la classe SettingsPropertyWrongTypeException en fonction des paramètres fournis.

SettingsPropertyWrongTypeException()

Source:
SettingsPropertyWrongTypeException.cs
Source:
SettingsPropertyWrongTypeException.cs
Source:
SettingsPropertyWrongTypeException.cs

Initialise une nouvelle instance de la classe SettingsPropertyWrongTypeException.

public:
 SettingsPropertyWrongTypeException();
public SettingsPropertyWrongTypeException ();
Public Sub New ()

S’applique à

SettingsPropertyWrongTypeException(String)

Source:
SettingsPropertyWrongTypeException.cs
Source:
SettingsPropertyWrongTypeException.cs
Source:
SettingsPropertyWrongTypeException.cs

Initialise une nouvelle instance de la classe SettingsPropertyWrongTypeException en fonction du paramètre fourni.

public:
 SettingsPropertyWrongTypeException(System::String ^ message);
public SettingsPropertyWrongTypeException (string message);
new System.Configuration.SettingsPropertyWrongTypeException : string -> System.Configuration.SettingsPropertyWrongTypeException
Public Sub New (message As String)

Paramètres

message
String

Chaîne contenant un message d'exception.

S’applique à

SettingsPropertyWrongTypeException(SerializationInfo, StreamingContext)

Source:
SettingsPropertyWrongTypeException.cs
Source:
SettingsPropertyWrongTypeException.cs
Source:
SettingsPropertyWrongTypeException.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 SettingsPropertyWrongTypeException en fonction des paramètres fournis.

protected:
 SettingsPropertyWrongTypeException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SettingsPropertyWrongTypeException (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 SettingsPropertyWrongTypeException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Configuration.SettingsPropertyWrongTypeException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.SettingsPropertyWrongTypeException
[<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.SettingsPropertyWrongTypeException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.SettingsPropertyWrongTypeException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Paramètres

info
SerializationInfo

SerializationInfo qui contient les données d'objet sérialisées concernant l'exception levée.

context
StreamingContext

StreamingContext qui contient des informations contextuelles sur la source ou la destination du flux sérialisé.

Attributs

S’applique à

SettingsPropertyWrongTypeException(String, Exception)

Source:
SettingsPropertyWrongTypeException.cs
Source:
SettingsPropertyWrongTypeException.cs
Source:
SettingsPropertyWrongTypeException.cs

Initialise une nouvelle instance de la classe SettingsPropertyWrongTypeException en fonction des paramètres fournis.

public:
 SettingsPropertyWrongTypeException(System::String ^ message, Exception ^ innerException);
public SettingsPropertyWrongTypeException (string message, Exception innerException);
new System.Configuration.SettingsPropertyWrongTypeException : string * Exception -> System.Configuration.SettingsPropertyWrongTypeException
Public Sub New (message As String, innerException As Exception)

Paramètres

message
String

Chaîne contenant un message d'exception.

innerException
Exception

Exception ayant provoqué l'exception actuelle.

S’applique à