RuntimeBinderInternalCompilerException 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 RuntimeBinderInternalCompilerException classe avec un message fourni par le système qui décrit l’erreur.
Surcharges
| Nom | Description |
|---|---|
| RuntimeBinderInternalCompilerException() |
Initialise une nouvelle instance de la RuntimeBinderInternalCompilerException classe avec un message fourni par le système qui décrit l’erreur. |
| RuntimeBinderInternalCompilerException(String) |
Initialise une nouvelle instance de la RuntimeBinderInternalCompilerException classe avec un message spécifié qui décrit l’erreur. |
| RuntimeBinderInternalCompilerException(SerializationInfo, StreamingContext) |
Obsolète.
Initialise une nouvelle instance de la RuntimeBinderInternalCompilerException classe avec des données sérialisées. |
| RuntimeBinderInternalCompilerException(String, Exception) |
Initialise une nouvelle instance de la RuntimeBinderInternalCompilerException classe qui a un message d’erreur spécifié et une référence à l’exception interne qui est la cause de cette exception. |
RuntimeBinderInternalCompilerException()
Initialise une nouvelle instance de la RuntimeBinderInternalCompilerException classe avec un message fourni par le système qui décrit l’erreur.
public:
RuntimeBinderInternalCompilerException();
public RuntimeBinderInternalCompilerException();
Public Sub New ()
Remarques
Ce constructeur initialise la Message propriété de la nouvelle instance dans un message fourni par le système qui décrit l’erreur, telle que « DefaultMessageDisplayedByParameterlessCtorWriterMustSupply » Ce message prend en compte la culture système actuelle.
Le tableau suivant présente les valeurs de propriété initiales d’une instance de InsufficientMemoryException.
| Propriété | Valeur |
|---|---|
| InnerException |
null. |
| Message | Chaîne de message d’erreur localisée. |
Voir aussi
S’applique à
RuntimeBinderInternalCompilerException(String)
Initialise une nouvelle instance de la RuntimeBinderInternalCompilerException classe avec un message spécifié qui décrit l’erreur.
public:
RuntimeBinderInternalCompilerException(System::String ^ message);
public RuntimeBinderInternalCompilerException(string message);
public RuntimeBinderInternalCompilerException(string? message);
new Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException : string -> Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException
Public Sub New (message As String)
Paramètres
- message
- String
Message qui décrit l’exception. L’appelant de ce constructeur est requis pour s’assurer que cette chaîne a été localisée pour la culture système actuelle.
Remarques
Le tableau suivant présente les valeurs de propriété initiales d’une instance de RuntimeBinderInternalCompilerException.
| Propriété | Valeur |
|---|---|
| InnerException |
null. |
| Message | Chaîne de message d’erreur spécifiée dans message. |
Voir aussi
S’applique à
RuntimeBinderInternalCompilerException(SerializationInfo, StreamingContext)
Attention
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Initialise une nouvelle instance de la RuntimeBinderInternalCompilerException classe avec des données sérialisées.
protected:
RuntimeBinderInternalCompilerException(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 RuntimeBinderInternalCompilerException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected RuntimeBinderInternalCompilerException(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 Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException
new Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Paramètres
- info
- SerializationInfo
SerializationInfo Qui contient les données d’objet sérialisées sur l’exception levée.
- context
- StreamingContext
Qui StreamingContext contient des informations contextuelles sur la source ou la destination.
- Attributs
Remarques
Ce constructeur est appelé lors de la désérialisation pour rétablir l’objet d’exception transmis sur un flux.
S’applique à
RuntimeBinderInternalCompilerException(String, Exception)
Initialise une nouvelle instance de la RuntimeBinderInternalCompilerException classe qui a un message d’erreur spécifié et une référence à l’exception interne qui est la cause de cette exception.
public:
RuntimeBinderInternalCompilerException(System::String ^ message, Exception ^ innerException);
public RuntimeBinderInternalCompilerException(string message, Exception innerException);
public RuntimeBinderInternalCompilerException(string? message, Exception? innerException);
new Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException : string * Exception -> Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException
Public Sub New (message As String, innerException As Exception)
Paramètres
- message
- String
Message d’erreur qui explique la raison de l’exception.
- innerException
- Exception
Exception qui est la cause de l’exception actuelle ou une référence Null si aucune exception interne n’est spécifiée.
Remarques
Une exception levée en conséquence directe d’une exception précédente doit inclure une référence à l’exception précédente dans la InnerException propriété. La InnerException propriété retourne la même valeur que celle passée dans le constructeur, ou null si la InnerException propriété ne fournit pas la valeur d’exception interne au constructeur.
Le tableau suivant présente les valeurs de propriété initiales d’une instance de RuntimeBinderInternalCompilerException.
| Propriété | Valeur |
|---|---|
| InnerException |
null. |
| Message | Chaîne de message d’erreur spécifiée dans message. |