[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(

IList<string> contentTypes

)

VB

Public Sub New( _

contentTypes As IList(Of String) _

)

C++

public:

UnsupportedMediaTypeException(

IList<String^>^ contentTypes

)

Parameters

contentTypes
Type: System.Collections.Generic.IList<string>System.Collections.Generic.IList(Of String)System.Collections.Generic::IList<String^>
An entire list of possible Content-Type values with which the system is still not able to deal.

See Also

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