Nyelv

VersionNotFoundException Konstruktorok

Definíció

Inicializálja a VersionNotFoundException osztály új példányát.

Túlterhelések

Name Description
VersionNotFoundException()

Inicializálja a VersionNotFoundException osztály új példányát.

VersionNotFoundException(String)

Inicializálja az osztály új példányát VersionNotFoundException a megadott sztringgel.

VersionNotFoundException(SerializationInfo, StreamingContext)
Elavult.

Inicializálja az osztály új példányát VersionNotFoundException szerializálási információkkal.

VersionNotFoundException(String, Exception)

Inicializálja az VersionNotFoundException osztály új példányát egy megadott hibaüzenettel és a kivétel okaként szolgáló belső kivételre mutató hivatkozással.

VersionNotFoundException()

Forrás:
DataException.cs
Forrás:
DataException.cs
Forrás:
DataException.cs
Forrás:
DataException.cs
Forrás:
DataException.cs

Inicializálja a VersionNotFoundException osztály új példányát.

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

A következőre érvényes:

VersionNotFoundException(String)

Forrás:
DataException.cs
Forrás:
DataException.cs
Forrás:
DataException.cs
Forrás:
DataException.cs
Forrás:
DataException.cs

Inicializálja az osztály új példányát VersionNotFoundException a megadott sztringgel.

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éterek

s
String

A kivétel megjelenésekor megjelenítendő sztring.

A következőre érvényes:

VersionNotFoundException(SerializationInfo, StreamingContext)

Forrás:
DataException.cs
Forrás:
DataException.cs
Forrás:
DataException.cs
Forrás:
DataException.cs
Forrás:
DataException.cs

Figyelemfelhívás

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Inicializálja az osztály új példányát VersionNotFoundException szerializálási információkkal.

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éterek

info
SerializationInfo

Az objektumok szerializálásához vagy deszerializálásához szükséges adatok.

context
StreamingContext

A megadott szerializált stream forrásának és céljának leírása.

Attribútumok

Lásd még

A következőre érvényes:

VersionNotFoundException(String, Exception)

Forrás:
DataException.cs
Forrás:
DataException.cs
Forrás:
DataException.cs
Forrás:
DataException.cs
Forrás:
DataException.cs

Inicializálja az VersionNotFoundException osztály új példányát egy megadott hibaüzenettel és a kivétel okaként szolgáló belső kivételre mutató hivatkozással.

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éterek

message
String

A kivétel okát magyarázó hibaüzenet.

innerException
Exception

Az aktuális kivétel kiváltó oka, vagy null hivatkozás (Nothing Visual Basic), ha nincs megadva belső kivétel.

A következőre érvényes: