NewtonsoftJsonInputFormatter.ExceptionPolicy 属性

定义

获取指示正文模型联编程序是否应处理所有异常的标志。 如果处理了异常,正文模型联编程序会将异常转换为模型状态错误,否则允许该异常传播。

public:
 virtual property Microsoft::AspNetCore::Mvc::Formatters::InputFormatterExceptionPolicy ExceptionPolicy { Microsoft::AspNetCore::Mvc::Formatters::InputFormatterExceptionPolicy get(); };
public virtual Microsoft.AspNetCore.Mvc.Formatters.InputFormatterExceptionPolicy ExceptionPolicy { get; }
member this.ExceptionPolicy : Microsoft.AspNetCore.Mvc.Formatters.InputFormatterExceptionPolicy
Public Overridable ReadOnly Property ExceptionPolicy As InputFormatterExceptionPolicy

属性值

InputFormatterExceptionPolicy

实现

适用于