NewtonsoftJsonPatchInputFormatter.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.

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

Eigenschaftswert

Gilt für: