JsonPatchInputFormatter.ExceptionPolicy 属性

定义

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

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

属性值

适用于