DataMisalignedException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy DataMisalignedException.

Przeciążenia

Nazwa Opis
DataMisalignedException()

Inicjuje nowe wystąpienie klasy DataMisalignedException.

DataMisalignedException(String)

Inicjuje nowe wystąpienie DataMisalignedException klasy przy użyciu określonego komunikatu o błędzie.

DataMisalignedException(String, Exception)

Inicjuje nowe wystąpienie DataMisalignedException klasy przy użyciu określonego komunikatu o błędzie i bazowego wyjątku.

DataMisalignedException()

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

Inicjuje nowe wystąpienie klasy DataMisalignedException.

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

Dotyczy

DataMisalignedException(String)

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

Inicjuje nowe wystąpienie DataMisalignedException klasy przy użyciu określonego komunikatu o błędzie.

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

Parametry

message
String

String Obiekt opisujący błąd. message Zawartość ma być rozumiana przez ludzi. Obiekt wywołujący tego konstruktora jest wymagany, aby upewnić się, że ten ciąg został zlokalizowany dla bieżącej kultury systemu.

Dotyczy

DataMisalignedException(String, Exception)

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

Inicjuje nowe wystąpienie DataMisalignedException klasy przy użyciu określonego komunikatu o błędzie i bazowego wyjątku.

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

Parametry

message
String

String Obiekt opisujący błąd. message Zawartość ma być rozumiana przez ludzi. Obiekt wywołujący tego konstruktora jest wymagany, aby upewnić się, że ten ciąg został zlokalizowany dla bieżącej kultury systemu.

innerException
Exception

Wyjątek, który jest przyczyną bieżącego DataMisalignedException. Jeśli parametr innerException nie jest null, bieżący wyjątek jest zgłaszany w bloku catch, który obsługuje wyjątek wewnętrzny.

Dotyczy