Share via


ODataBinaryValueMediaTypeMapping Class

Definition

Media type mapping that associates requests for the raw value of binary properties to the application/octet-stream content type.

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

Constructors

ODataBinaryValueMediaTypeMapping()

Initializes a new instance of the ODataBinaryValueMediaTypeMapping 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.

(Inherited from ODataRawValueMediaTypeMapping)
TryMatchMediaType(HttpRequestMessage) (Inherited from ODataRawValueMediaTypeMapping)

Applies to