SystemTextJsonInputFormatter.IInputFormatterExceptionPolicy.ExceptionPolicy Eigenschaft

Definition

Ruft das Flag ab, um anzugeben, ob der Textkörpermodellbinder alle Ausnahmen behandeln soll. Wenn eine Ausnahme behandelt wird, wandelt der Textkörpermodellbinder die Ausnahme in Modellzustandsfehler um, andernfalls darf die Ausnahme weitergegeben werden.

property Microsoft::AspNetCore::Mvc::Formatters::InputFormatterExceptionPolicy Microsoft::AspNetCore::Mvc::Formatters::IInputFormatterExceptionPolicy::ExceptionPolicy { Microsoft::AspNetCore::Mvc::Formatters::InputFormatterExceptionPolicy get(); };
Microsoft.AspNetCore.Mvc.Formatters.InputFormatterExceptionPolicy Microsoft.AspNetCore.Mvc.Formatters.IInputFormatterExceptionPolicy.ExceptionPolicy { get; }
member this.Microsoft.AspNetCore.Mvc.Formatters.IInputFormatterExceptionPolicy.ExceptionPolicy : Microsoft.AspNetCore.Mvc.Formatters.InputFormatterExceptionPolicy
 ReadOnly Property ExceptionPolicy As InputFormatterExceptionPolicy Implements IInputFormatterExceptionPolicy.ExceptionPolicy

Eigenschaftswert

Implementiert

Gilt für: