Share via


ODataRawValueMediaTypeMapping Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public MustInherit Class ODataRawValueMediaTypeMapping _
    Inherits MediaTypeMapping
'Usage
Dim instance As ODataRawValueMediaTypeMapping
public abstract class ODataRawValueMediaTypeMapping : MediaTypeMapping
public ref class ODataRawValueMediaTypeMapping abstract : public MediaTypeMapping
[<AbstractClassAttribute>]
type ODataRawValueMediaTypeMapping =  
    class 
        inherit MediaTypeMapping 
    end
public abstract class ODataRawValueMediaTypeMapping extends MediaTypeMapping

The ODataRawValueMediaTypeMapping type exposes the following members.

Constructors

  Name Description
Protected method ODataRawValueMediaTypeMapping Initializes a new instance of the ODataRawValueMediaTypeMapping 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 This method determines if the HttpRequestMessage is an OData Raw value request.
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. (Overrides MediaTypeMapping.TryMatchMediaType(HttpRequestMessage).)

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