ODataBinaryValueMediaTypeMapping Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.MediaTypeMappingODataBinaryValueMediaTypeMapping
- Inheritance
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 |
TryMatchMediaType(HttpRequestMessage) | (Inherited from ODataRawValueMediaTypeMapping) |