Delen via


IInputFormatterExceptionPolicy Interface

Definition

A policy which IInputFormatters can implement to indicate if they want the body model binder to handle all exceptions. By default, all default IInputFormatters implement this interface and have a default value of MalformedInputExceptions.

public interface class IInputFormatterExceptionPolicy
public interface IInputFormatterExceptionPolicy
type IInputFormatterExceptionPolicy = interface
Public Interface IInputFormatterExceptionPolicy
Derived

Properties

ExceptionPolicy

Gets the flag to indicate if the body model binder should handle all exceptions. If an exception is handled, the body model binder converts the exception into model state errors, else the exception is allowed to propagate.

Applies to