Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MediaTypeMapping Constructor (String)

Initializes a new instance of a MediaTypeMapping with the given mediaType value.

Namespace:  System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

protected function MediaTypeMapping(
	mediaType : String


Type: System.String
The String that is associated with HttpRequestMessage or HttpResponseMessage instances that have the given characteristics of the MediaTypeMapping.
© 2015 Microsoft