VersionNotFoundException Constructeurs

Définition

Initialise une nouvelle instance de la classe VersionNotFoundException.

Surcharges

Nom Description
VersionNotFoundException()

Initialise une nouvelle instance de la classe VersionNotFoundException.

VersionNotFoundException(String)

Initialise une nouvelle instance de la VersionNotFoundException classe avec la chaîne spécifiée.

VersionNotFoundException(SerializationInfo, StreamingContext)
Obsolète.

Initialise une nouvelle instance de la VersionNotFoundException classe avec des informations de sérialisation.

VersionNotFoundException(String, Exception)

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

VersionNotFoundException()

Source:
DataException.cs
Source:
DataException.cs
Source:
DataException.cs
Source:
DataException.cs
Source:
DataException.cs

Initialise une nouvelle instance de la classe VersionNotFoundException.

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

S’applique à

VersionNotFoundException(String)

Source:
DataException.cs
Source:
DataException.cs
Source:
DataException.cs
Source:
DataException.cs
Source:
DataException.cs

Initialise une nouvelle instance de la VersionNotFoundException classe avec la chaîne spécifiée.

public:
 VersionNotFoundException(System::String ^ s);
public VersionNotFoundException(string? s);
public VersionNotFoundException(string s);
new System.Data.VersionNotFoundException : string -> System.Data.VersionNotFoundException
Public Sub New (s As String)

Paramètres

s
String

Chaîne à afficher lorsque l’exception est levée.

S’applique à

VersionNotFoundException(SerializationInfo, StreamingContext)

Source:
DataException.cs
Source:
DataException.cs
Source:
DataException.cs
Source:
DataException.cs
Source:
DataException.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 VersionNotFoundException classe avec des informations de sérialisation.

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

Paramètres

info
SerializationInfo

Données requises pour sérialiser ou désérialiser un objet.

context
StreamingContext

Description de la source et de la destination du flux sérialisé spécifié.

Attributs

Voir aussi

S’applique à

VersionNotFoundException(String, Exception)

Source:
DataException.cs
Source:
DataException.cs
Source:
DataException.cs
Source:
DataException.cs
Source:
DataException.cs

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

public:
 VersionNotFoundException(System::String ^ message, Exception ^ innerException);
public VersionNotFoundException(string? message, Exception? innerException);
public VersionNotFoundException(string message, Exception innerException);
new System.Data.VersionNotFoundException : string * Exception -> System.Data.VersionNotFoundException
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 (Nothing en Visual Basic) si aucune exception interne n’est spécifiée.

S’applique à