Share via


ValueProviderException Constructors

Definition

Overloads

ValueProviderException(String)

Initializes a new instance of ValueProviderException with the specified message.

ValueProviderException(String, Exception)

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

ValueProviderException(String)

Initializes a new instance of ValueProviderException with the specified message.

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

Parameters

message
String

The exception message.

Applies to

ValueProviderException(String, Exception)

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

public:
 ValueProviderException(System::String ^ message, Exception ^ innerException);
public ValueProviderException (string message, Exception innerException);
new Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderException : string * Exception -> Microsoft.AspNetCore.Mvc.ModelBinding.ValueProviderException
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