StrongTypingException 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 StrongTypingException.
Surcharges
| Nom | Description |
|---|---|
| StrongTypingException() |
Initialise une nouvelle instance de la classe StrongTypingException. |
| StrongTypingException(String) |
Initialise une nouvelle instance de la StrongTypingException classe avec la chaîne spécifiée. |
| StrongTypingException(SerializationInfo, StreamingContext) |
Obsolète.
Initialise une nouvelle instance de la StrongTypingException classe à l’aide des informations de sérialisation et du contexte de diffusion en continu spécifiés. |
| StrongTypingException(String, Exception) |
Initialise une nouvelle instance de la StrongTypingException classe avec la chaîne et l’exception interne spécifiées. |
StrongTypingException()
- Source:
- StrongTypingException.cs
- Source:
- StrongTypingException.cs
- Source:
- StrongTypingException.cs
- Source:
- StrongTypingException.cs
- Source:
- StrongTypingException.cs
Initialise une nouvelle instance de la classe StrongTypingException.
public:
StrongTypingException();
public StrongTypingException();
Public Sub New ()
Remarques
La StrongTypingException classe n’est pas destinée à être utilisée comme composant autonome, mais comme classe à partir de laquelle d’autres classes dérivent des fonctionnalités standard.
S’applique à
StrongTypingException(String)
- Source:
- StrongTypingException.cs
- Source:
- StrongTypingException.cs
- Source:
- StrongTypingException.cs
- Source:
- StrongTypingException.cs
- Source:
- StrongTypingException.cs
Initialise une nouvelle instance de la StrongTypingException classe avec la chaîne spécifiée.
public:
StrongTypingException(System::String ^ message);
public StrongTypingException(string? message);
public StrongTypingException(string message);
new System.Data.StrongTypingException : string -> System.Data.StrongTypingException
Public Sub New (message As String)
Paramètres
- message
- String
Chaîne à afficher lorsque l’exception est levée.
Remarques
La StrongTypingException classe n’est pas destinée à être utilisée comme composant autonome, mais comme classe à partir de laquelle d’autres classes dérivent des fonctionnalités standard.
S’applique à
StrongTypingException(SerializationInfo, StreamingContext)
- Source:
- StrongTypingException.cs
- Source:
- StrongTypingException.cs
- Source:
- StrongTypingException.cs
- Source:
- StrongTypingException.cs
- Source:
- StrongTypingException.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 StrongTypingException classe à l’aide des informations de sérialisation et du contexte de diffusion en continu spécifiés.
protected:
StrongTypingException(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 StrongTypingException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected StrongTypingException(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}")>]
new System.Data.StrongTypingException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.StrongTypingException
new System.Data.StrongTypingException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.StrongTypingException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Paramètres
- info
- SerializationInfo
Objet SerializationInfo.
- context
- StreamingContext
Structure StreamingContext.
- Attributs
Remarques
La StrongTypingException classe n’est pas destinée à être utilisée comme composant autonome, mais comme classe à partir de laquelle d’autres classes dérivent des fonctionnalités standard.
S’applique à
StrongTypingException(String, Exception)
- Source:
- StrongTypingException.cs
- Source:
- StrongTypingException.cs
- Source:
- StrongTypingException.cs
- Source:
- StrongTypingException.cs
- Source:
- StrongTypingException.cs
Initialise une nouvelle instance de la StrongTypingException classe avec la chaîne et l’exception interne spécifiées.
public:
StrongTypingException(System::String ^ s, Exception ^ innerException);
public StrongTypingException(string? s, Exception? innerException);
public StrongTypingException(string s, Exception innerException);
new System.Data.StrongTypingException : string * Exception -> System.Data.StrongTypingException
Public Sub New (s As String, innerException As Exception)
Paramètres
- s
- String
Chaîne à afficher lorsque l’exception est levée.
- innerException
- Exception
Référence à une exception interne.
Remarques
La StrongTypingException classe n’est pas destinée à être utilisée comme composant autonome, mais comme classe à partir de laquelle d’autres classes dérivent des fonctionnalités standard.