Share via


ODataRawValueMediaTypeMapping Class

Definition

Media type mapping that associates requests for the raw value of properties.

public abstract class ODataRawValueMediaTypeMapping : System.Net.Http.Formatting.MediaTypeMapping
public abstract class ODataRawValueMediaTypeMapping : Microsoft.AspNet.OData.Formatter.MediaTypeMapping
type ODataRawValueMediaTypeMapping = class
    inherit MediaTypeMapping
Public MustInherit Class ODataRawValueMediaTypeMapping
Inherits MediaTypeMapping
Inheritance
System.Net.Http.Formatting.MediaTypeMapping
ODataRawValueMediaTypeMapping
Inheritance
ODataRawValueMediaTypeMapping
Derived

Remarks

This class derives from a platform-specific class.

Constructors

ODataRawValueMediaTypeMapping(String)

Initializes a new instance of the ODataRawValueMediaTypeMapping class.

Properties

MediaType

Gets the media type that is associated with request.

(Inherited from MediaTypeMapping)

Methods

IsMatch(PropertySegment)

This method determines if the HttpRequestMessage is an OData Raw value request.

TryMatchMediaType(HttpRequest)

Returns a value indicating whether this instance can provide a MediaTypeHeaderValue for the given request.

TryMatchMediaType(HttpRequestMessage) System.Net.Http.Formatting.MediaTypeMapping.TryMatchMediaType(System.Net.Http.HttpRequestMessage)

Applies to