ValueProviderException 构造函数

定义

重载

ValueProviderException(String)

用指定的 ValueProviderException 初始化 message 的新实例。

ValueProviderException(String, Exception)

使用导致此异常的指定message和内部异常初始化 的新实例ValueProviderException

ValueProviderException(String)

Source:
ValueProviderException.cs

用指定的 ValueProviderException 初始化 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)

参数

message
String

异常消息。

适用于

ValueProviderException(String, Exception)

Source:
ValueProviderException.cs

使用导致此异常的指定message和内部异常初始化 的新实例ValueProviderException

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)

参数

message
String

异常消息。

innerException
Exception

导致当前异常的异常。

适用于