DecoderFallbackException Konstruktorer

Definition

Initierar en ny instans av DecoderFallbackException klassen.

Överlagringar

Name Description
DecoderFallbackException()

Initierar en ny instans av DecoderFallbackException klassen.

DecoderFallbackException(String)

Initierar en ny instans av DecoderFallbackException klassen. En parameter anger felmeddelandet.

DecoderFallbackException(String, Exception)

Initierar en ny instans av DecoderFallbackException klassen. Parametrar anger felmeddelandet och det inre undantag som är orsaken till det här undantaget.

DecoderFallbackException(String, Byte[], Int32)

Initierar en ny instans av DecoderFallbackException klassen. Parametrar anger felmeddelandet, matrisen med byte som avkodas och indexet för byte som inte kan avkodas.

DecoderFallbackException()

Källa:
DecoderExceptionFallback.cs
Källa:
DecoderExceptionFallback.cs
Källa:
DecoderExceptionFallback.cs
Källa:
DecoderExceptionFallback.cs
Källa:
DecoderExceptionFallback.cs

Initierar en ny instans av DecoderFallbackException klassen.

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

Kommentarer

Egenskapen Exception.HResult för det här undantaget är inställd på COR_E_ARGUMENT (0x80070057).

Gäller för

DecoderFallbackException(String)

Källa:
DecoderExceptionFallback.cs
Källa:
DecoderExceptionFallback.cs
Källa:
DecoderExceptionFallback.cs
Källa:
DecoderExceptionFallback.cs
Källa:
DecoderExceptionFallback.cs

Initierar en ny instans av DecoderFallbackException klassen. En parameter anger felmeddelandet.

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

Parametrar

message
String

Ett felmeddelande.

Kommentarer

Egenskapen Exception.HResult för det här undantaget är inställd på COR_E_ARGUMENT (0x80070057).

Gäller för

DecoderFallbackException(String, Exception)

Källa:
DecoderExceptionFallback.cs
Källa:
DecoderExceptionFallback.cs
Källa:
DecoderExceptionFallback.cs
Källa:
DecoderExceptionFallback.cs
Källa:
DecoderExceptionFallback.cs

Initierar en ny instans av DecoderFallbackException klassen. Parametrar anger felmeddelandet och det inre undantag som är orsaken till det här undantaget.

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

Parametrar

message
String

Ett felmeddelande.

innerException
Exception

Undantaget som orsakade det här undantaget.

Kommentarer

Egenskapen Exception.HResult för det här undantaget är inställd på COR_E_ARGUMENT (0x80070057).

Gäller för

DecoderFallbackException(String, Byte[], Int32)

Källa:
DecoderExceptionFallback.cs
Källa:
DecoderExceptionFallback.cs
Källa:
DecoderExceptionFallback.cs
Källa:
DecoderExceptionFallback.cs
Källa:
DecoderExceptionFallback.cs

Initierar en ny instans av DecoderFallbackException klassen. Parametrar anger felmeddelandet, matrisen med byte som avkodas och indexet för byte som inte kan avkodas.

public:
 DecoderFallbackException(System::String ^ message, cli::array <System::Byte> ^ bytesUnknown, int index);
public DecoderFallbackException(string message, byte[] bytesUnknown, int index);
public DecoderFallbackException(string? message, byte[]? bytesUnknown, int index);
new System.Text.DecoderFallbackException : string * byte[] * int -> System.Text.DecoderFallbackException
Public Sub New (message As String, bytesUnknown As Byte(), index As Integer)

Parametrar

message
String

Ett felmeddelande.

bytesUnknown
Byte[]

Indata-bytematrisen.

index
Int32

Indexpositionen i bytesUnknown bytet som inte kan avkodas.

Kommentarer

Egenskapen Exception.HResult för det här undantaget är inställd på COR_E_ARGUMENT (0x80070057).

Gäller för