MediaTypeMapping Class

 

An abstract base class used to create an association between HttpRequestMessage or HttpResponseMessage instances that have certain characteristics and a specific MediaTypeHeaderValue.

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


public abstract class MediaTypeMapping

NameDescription
System_CAPS_protmethodMediaTypeMapping(MediaTypeHeaderValue)

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

System_CAPS_protmethodMediaTypeMapping(String)

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

NameDescription
System_CAPS_pubpropertyMediaType

Gets the MediaTypeHeaderValue that is associated with HttpRequestMessage or HttpResponseMessage instances that have the given characteristics of the MediaTypeMapping.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTryMatchMediaType(HttpRequestMessage)

Returns the quality of the match of the MediaTypeHeaderValue associated with request.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: