VersionNotFoundException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy VersionNotFoundException.

Przeciążenia

Nazwa Opis
VersionNotFoundException()

Inicjuje nowe wystąpienie klasy VersionNotFoundException.

VersionNotFoundException(String)

Inicjuje nowe wystąpienie VersionNotFoundException klasy przy użyciu określonego ciągu.

VersionNotFoundException(SerializationInfo, StreamingContext)
Przestarzałe.

Inicjuje VersionNotFoundException nowe wystąpienie klasy z informacjami o serializacji.

VersionNotFoundException(String, Exception)

Inicjuje nowe wystąpienie VersionNotFoundException klasy z określonym komunikatem o błędzie i odwołaniem do wyjątku wewnętrznego, który jest przyczyną tego wyjątku.

VersionNotFoundException()

Źródło:
DataException.cs
Źródło:
DataException.cs
Źródło:
DataException.cs
Źródło:
DataException.cs
Źródło:
DataException.cs

Inicjuje nowe wystąpienie klasy VersionNotFoundException.

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

Dotyczy

VersionNotFoundException(String)

Źródło:
DataException.cs
Źródło:
DataException.cs
Źródło:
DataException.cs
Źródło:
DataException.cs
Źródło:
DataException.cs

Inicjuje nowe wystąpienie VersionNotFoundException klasy przy użyciu określonego ciągu.

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)

Parametry

s
String

Ciąg do wyświetlenia po wystąpieniu wyjątku.

Dotyczy

VersionNotFoundException(SerializationInfo, StreamingContext)

Źródło:
DataException.cs
Źródło:
DataException.cs
Źródło:
DataException.cs
Źródło:
DataException.cs
Źródło:
DataException.cs

Uwaga

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

Inicjuje VersionNotFoundException nowe wystąpienie klasy z informacjami o serializacji.

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)

Parametry

info
SerializationInfo

Dane wymagane do serializacji lub deserializacji obiektu.

context
StreamingContext

Opis źródła i miejsca docelowego określonego serializowanego strumienia.

Atrybuty

Zobacz też

Dotyczy

VersionNotFoundException(String, Exception)

Źródło:
DataException.cs
Źródło:
DataException.cs
Źródło:
DataException.cs
Źródło:
DataException.cs
Źródło:
DataException.cs

Inicjuje nowe wystąpienie VersionNotFoundException klasy z określonym komunikatem o błędzie i odwołaniem do wyjątku wewnętrznego, który jest przyczyną tego wyjątku.

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)

Parametry

message
String

Komunikat o błędzie wyjaśniający przyczynę wyjątku.

innerException
Exception

Wyjątek, który jest przyczyną bieżącego wyjątku lub odwołanie o wartości null (Nothing w Visual Basic), jeśli nie określono wyjątku wewnętrznego.

Dotyczy