Dela via


InputFormatterException Constructors

Definition

Overloads

InputFormatterException()

Initializes a new instance of InputFormatterException.

InputFormatterException(String)

Initializes a new instance of InputFormatterException with the specified message.

InputFormatterException(String, Exception)

Initializes a new instance of InputFormatterException with the specified message and inner exception that is the cause of this exception.

InputFormatterException()

Source:
InputFormatterException.cs
Source:
InputFormatterException.cs
Source:
InputFormatterException.cs

Initializes a new instance of InputFormatterException.

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

Applies to

InputFormatterException(String)

Source:
InputFormatterException.cs
Source:
InputFormatterException.cs
Source:
InputFormatterException.cs

Initializes a new instance of InputFormatterException with the specified message.

public:
 InputFormatterException(System::String ^ message);
public InputFormatterException (string message);
new Microsoft.AspNetCore.Mvc.Formatters.InputFormatterException : string -> Microsoft.AspNetCore.Mvc.Formatters.InputFormatterException
Public Sub New (message As String)

Parameters

message
String

The exception message.

Applies to

InputFormatterException(String, Exception)

Source:
InputFormatterException.cs
Source:
InputFormatterException.cs
Source:
InputFormatterException.cs

Initializes a new instance of InputFormatterException with the specified message and inner exception that is the cause of this exception.

public:
 InputFormatterException(System::String ^ message, Exception ^ innerException);
public InputFormatterException (string message, Exception innerException);
new Microsoft.AspNetCore.Mvc.Formatters.InputFormatterException : string * Exception -> Microsoft.AspNetCore.Mvc.Formatters.InputFormatterException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The exception message.

innerException
Exception

The exception that is the cause of the current exception.

Applies to