Επεξεργασία

Κοινή χρήση μέσω


EncoderFallbackException Constructors

Definition

Initializes a new instance of the EncoderFallbackException class.

Overloads

EncoderFallbackException()

Initializes a new instance of the EncoderFallbackException class.

EncoderFallbackException(String)

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

EncoderFallbackException(String, Exception)

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

EncoderFallbackException()

Source:
EncoderExceptionFallback.cs
Source:
EncoderExceptionFallback.cs
Source:
EncoderExceptionFallback.cs

Initializes a new instance of the EncoderFallbackException class.

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

Remarks

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

Applies to

EncoderFallbackException(String)

Source:
EncoderExceptionFallback.cs
Source:
EncoderExceptionFallback.cs
Source:
EncoderExceptionFallback.cs

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

public:
 EncoderFallbackException(System::String ^ message);
public EncoderFallbackException (string message);
public EncoderFallbackException (string? message);
new System.Text.EncoderFallbackException : string -> System.Text.EncoderFallbackException
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

EncoderFallbackException(String, Exception)

Source:
EncoderExceptionFallback.cs
Source:
EncoderExceptionFallback.cs
Source:
EncoderExceptionFallback.cs

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

public:
 EncoderFallbackException(System::String ^ message, Exception ^ innerException);
public EncoderFallbackException (string message, Exception innerException);
public EncoderFallbackException (string? message, Exception? innerException);
new System.Text.EncoderFallbackException : string * Exception -> System.Text.EncoderFallbackException
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