MediaTypeMapping Class
An abstract base class used to create an association between HttpRequestMessage or HttpResponseMessage instances that have certain characteristics and a specific MediaTypeHeaderValue.
System::Object
System.Net.Http.Formatting::MediaTypeMapping
System.Net.Http.Formatting::QueryStringMapping
System.Net.Http.Formatting::RequestHeaderMapping
System.Net.Http.Formatting::UriPathExtensionMapping
System.Net.Http.Formatting::MediaTypeMapping
System.Net.Http.Formatting::QueryStringMapping
System.Net.Http.Formatting::RequestHeaderMapping
System.Net.Http.Formatting::UriPathExtensionMapping
Namespace: System.Net.Http.Formatting
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
The MediaTypeMapping type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | MediaTypeMapping(MediaTypeHeaderValue) | Initializes a new instance of a MediaTypeMapping with the given mediaType value. |
![]() | MediaTypeMapping(String) | Initializes a new instance of a MediaTypeMapping with the given mediaType value. |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
![]() | TryMatchMediaType | Returns the quality of the match of the MediaTypeHeaderValue associated with request. |
