Share via


ODataBinaryValueMediaTypeMapping Class

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

Inheritance Hierarchy

System.Object
  System.Net.Http.Formatting.MediaTypeMapping
    System.Web.Http.OData.Formatter.ODataRawValueMediaTypeMapping
      System.Web.Http.OData.Formatter.ODataBinaryValueMediaTypeMapping

Namespace:  System.Web.Http.OData.Formatter
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Class ODataBinaryValueMediaTypeMapping _
    Inherits ODataRawValueMediaTypeMapping
'Usage
Dim instance As ODataBinaryValueMediaTypeMapping
public class ODataBinaryValueMediaTypeMapping : ODataRawValueMediaTypeMapping
public ref class ODataBinaryValueMediaTypeMapping : public ODataRawValueMediaTypeMapping
type ODataBinaryValueMediaTypeMapping =  
    class 
        inherit ODataRawValueMediaTypeMapping 
    end
public class ODataBinaryValueMediaTypeMapping extends ODataRawValueMediaTypeMapping

The ODataBinaryValueMediaTypeMapping type exposes the following members.

Constructors

  Name Description
Public method ODataBinaryValueMediaTypeMapping Initializes a new instance of the ODataBinaryValueMediaTypeMapping class.

Top

Properties

  Name Description
Public property MediaType (Inherited from MediaTypeMapping.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method IsMatch Returns a value indicating whether the current object is match to the property segment. (Overrides ODataRawValueMediaTypeMapping.IsMatch(PropertyAccessPathSegment).)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)
Public method TryMatchMediaType Returns the quality of the match of the MediaTypeHeaderValue associated with request. (Inherited from ODataRawValueMediaTypeMapping.)

Top

Thread Safety

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

See Also

Reference

System.Web.Http.OData.Formatter Namespace