Partager via


EntryPointNotFoundException Constructeurs

Définition

Initialise une nouvelle instance de la classe EntryPointNotFoundException.

Surcharges

Nom Description
EntryPointNotFoundException()

Initialise une nouvelle instance de la classe EntryPointNotFoundException.

EntryPointNotFoundException(String)

Initialise une nouvelle instance de la EntryPointNotFoundException classe avec un message d’erreur spécifié.

EntryPointNotFoundException(SerializationInfo, StreamingContext)
Obsolète.

Initialise une nouvelle instance de la classe EntryPointNotFoundException avec des données sérialisées.

EntryPointNotFoundException(String, Exception)

Initialise une nouvelle instance de la EntryPointNotFoundException classe avec un message d’erreur spécifié et une référence à l’exception interne qui est la cause de cette exception.

EntryPointNotFoundException()

Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs

Initialise une nouvelle instance de la classe EntryPointNotFoundException.

public:
 EntryPointNotFoundException();
public EntryPointNotFoundException();
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, par exemple « Point d’entrée introuvable ». 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 EntryPointNotFoundException.

Propriété Valeur
InnerException Référence Null (Nothing en Visual Basic).
Message Chaîne de message d’erreur localisée.

S’applique à

EntryPointNotFoundException(String)

Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs

Initialise une nouvelle instance de la EntryPointNotFoundException classe avec un message d’erreur spécifié.

public:
 EntryPointNotFoundException(System::String ^ message);
public EntryPointNotFoundException(string? message);
public EntryPointNotFoundException(string message);
new EntryPointNotFoundException : string -> EntryPointNotFoundException
Public Sub New (message As String)

Paramètres

message
String

Message d’erreur qui explique la raison de l’exception.

Remarques

Le contenu de message l’objet est destiné à être compris par les humains. L’appelant de ce constructeur est requis pour s’assurer que cette chaîne a été localisée pour la culture système actuelle.

Le tableau suivant présente les valeurs de propriété initiales d’une instance de EntryPointNotFoundException.

Propriété Valeur
InnerException Référence Null (Nothing en Visual Basic).
Message Chaîne de message d’erreur.

S’applique à

EntryPointNotFoundException(SerializationInfo, StreamingContext)

Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.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 EntryPointNotFoundException avec des données sérialisées.

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

Paramètres

info
SerializationInfo

Objet qui contient les données d’objet sérialisées.

context
StreamingContext

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 à

EntryPointNotFoundException(String, Exception)

Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs
Source:
EntryPointNotFoundException.cs

Initialise une nouvelle instance de la EntryPointNotFoundException classe avec un message d’erreur spécifié et une référence à l’exception interne qui est la cause de cette exception.

public:
 EntryPointNotFoundException(System::String ^ message, Exception ^ inner);
public EntryPointNotFoundException(string? message, Exception? inner);
public EntryPointNotFoundException(string message, Exception inner);
new EntryPointNotFoundException : string * Exception -> EntryPointNotFoundException
Public Sub New (message As String, inner As Exception)

Paramètres

message
String

Message d’erreur qui explique la raison de l’exception.

inner
Exception

Exception qui est la cause de l’exception actuelle. Si le inner paramètre n’est pas une référence Null (Nothing en Visual Basic), l’exception actuelle est levée dans un catch bloc qui gère l’exception interne.

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 au constructeur, ou une référence Null (Nothing en Visual Basic) 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 EntryPointNotFoundException.

Propriété Valeur
InnerException Référence d’exception interne.
Message Chaîne de message d’erreur.

Voir aussi

S’applique à