ValueProviderException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ValueProviderException(String) |
用指定的 ValueProviderException 初始化 |
ValueProviderException(String, Exception) |
使用导致此异常的指定 |
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
导致当前异常的异常。