UnsupportedContentTypeException Class

Definition

The Exception that is added to model state when a model binder for the body of the request is unable to understand the request content type header.

public ref class UnsupportedContentTypeException : Exception
public class UnsupportedContentTypeException : Exception
type UnsupportedContentTypeException = class
    inherit Exception
Public Class UnsupportedContentTypeException
Inherits Exception
Inheritance
UnsupportedContentTypeException

Constructors

UnsupportedContentTypeException(String)

Creates a new instance of UnsupportedContentTypeException with the specified exception message.

Applies to