IInputFormatterExceptionPolicy Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |