Share via


NewtonsoftJsonInputFormatter.ExceptionPolicy Eigenschaft

Definition

Ruft das Flag ab, das angibt, ob die Textmodellbindung alle Ausnahmen behandeln soll. Wenn eine Ausnahme behandelt wird, konvertiert die Textmodellbindung die Ausnahme in Modellzustandsfehler, andernfalls kann die Ausnahme weitergegeben werden.

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

Eigenschaftswert

Implementiert

Gilt für: