MediaTypeMapping.OnTryMatchMediaType Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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 OnTryMatchMediaType(HttpRequestMessage) Implemented in a derived class to determine if the HttpRequestMessage should be associated with the MediaTypeHeaderValue of the MediaTypeMapping.
Protected method OnTryMatchMediaType(HttpResponseMessage) Implemented in a derived class to determine if the HttpResponseMessage should be associated with the MediaTypeHeaderValue of the MediaTypeMapping.

Top

See Also

Reference

MediaTypeMapping Class

System.Net.Http.Formatting Namespace