IInputFormatterExceptionPolicy 인터페이스

정의

본문 모델 바인더가 IInputFormatter모든 예외를 처리할지 여부를 나타내기 위해 를 구현할 수 있는 정책입니다. 기본적으로 모든 기본값 IInputFormatter은 이 인터페이스를 구현하고 기본값은 입니다 MalformedInputExceptions.

public interface class IInputFormatterExceptionPolicy
public interface IInputFormatterExceptionPolicy
type IInputFormatterExceptionPolicy = interface
Public Interface IInputFormatterExceptionPolicy
파생

속성

ExceptionPolicy

본문 모델 바인더가 모든 예외를 처리해야 하는지 여부를 나타내는 플래그를 가져옵니다. 예외가 처리되면 본문 모델 바인더는 예외를 모델 상태 오류로 변환하고, 그렇지 않으면 예외를 전파할 수 있습니다.

적용 대상