[This is preliminary documentation and is subject to change.]

Initializes a new instance of the UnsupportedMediaTypeExceptionUnsupportedMediaTypeExceptionUnsupportedMediaTypeException class.

Namespace: Simple.WebSimple.WebSimple::Web
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public UnsupportedMediaTypeException(

string contentType

)

VB

Public Sub New( _

contentType As String _

)

C++

public:

UnsupportedMediaTypeException(

String^ contentType

)

Parameters

contentType

See Also

UnsupportedMediaTypeExceptionUnsupportedMediaTypeExceptionUnsupportedMediaTypeException Class
UnsupportedMediaTypeExceptionNewUnsupportedMediaTypeException Overload
Simple.WebSimple.WebSimple::Web Namespace