Editar

Compartir vía


DecoderFallbackException Constructors

Definition

Initializes a new instance of the DecoderFallbackException class.

Overloads

DecoderFallbackException()

Initializes a new instance of the DecoderFallbackException class.

DecoderFallbackException(String)

Initializes a new instance of the DecoderFallbackException class. A parameter specifies the error message.

DecoderFallbackException(String, Exception)

Initializes a new instance of the DecoderFallbackException class. Parameters specify the error message and the inner exception that is the cause of this exception.

DecoderFallbackException(String, Byte[], Int32)

Initializes a new instance of the DecoderFallbackException class. Parameters specify the error message, the array of bytes being decoded, and the index of the byte that cannot be decoded.

DecoderFallbackException()

Source:
DecoderExceptionFallback.cs
Source:
DecoderExceptionFallback.cs
Source:
DecoderExceptionFallback.cs

Initializes a new instance of the DecoderFallbackException class.

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

Remarks

The Exception.HResult property for this exception is set to COR_E_ARGUMENT (0x80070057).

Applies to

DecoderFallbackException(String)

Source:
DecoderExceptionFallback.cs
Source:
DecoderExceptionFallback.cs
Source:
DecoderExceptionFallback.cs

Initializes a new instance of the DecoderFallbackException class. A parameter specifies the error message.

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)

Parameters

message
String

An error message.

Remarks

The Exception.HResult property for this exception is set to COR_E_ARGUMENT (0x80070057).

Applies to

DecoderFallbackException(String, Exception)

Source:
DecoderExceptionFallback.cs
Source:
DecoderExceptionFallback.cs
Source:
DecoderExceptionFallback.cs

Initializes a new instance of the DecoderFallbackException class. Parameters specify the error message and the inner exception that is the cause of this exception.

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)

Parameters

message
String

An error message.

innerException
Exception

The exception that caused this exception.

Remarks

The Exception.HResult property for this exception is set to COR_E_ARGUMENT (0x80070057).

Applies to

DecoderFallbackException(String, Byte[], Int32)

Source:
DecoderExceptionFallback.cs
Source:
DecoderExceptionFallback.cs
Source:
DecoderExceptionFallback.cs

Initializes a new instance of the DecoderFallbackException class. Parameters specify the error message, the array of bytes being decoded, and the index of the byte that cannot be decoded.

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)

Parameters

message
String

An error message.

bytesUnknown
Byte[]

The input byte array.

index
Int32

The index position in bytesUnknown of the byte that cannot be decoded.

Remarks

The Exception.HResult property for this exception is set to COR_E_ARGUMENT (0x80070057).

Applies to