ValueProviderException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ValueProviderException(String) |
Initializes a new instance of ValueProviderException with the specified |
ValueProviderException(String, Exception) |
Initializes a new instance of ValueProviderException with the specified |
ValueProviderException(String)
- Source:
- ValueProviderException.cs
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)
- Source:
- ValueProviderException.cs
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.