Share via


MediaTypeMapping Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the MediaTypeMapping class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Protected method MediaTypeMapping(MediaTypeHeaderValue) Initializes a new instance of a MediaTypeMapping with the given mediaType value.
Protected method MediaTypeMapping(String) Initializes a new instance of a MediaTypeMapping with the given mediaType value.

Top

See Also

Reference

MediaTypeMapping Class

System.Net.Http.Formatting Namespace