QueryStringMediaTypeMapping Class

 

Class that provides MediaTypeHeaderValues from query strings.

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

System::Object
  System.Net.Http.Formatting::MediaTypeMapping
    System.Web.OData.Formatter::QueryStringMediaTypeMapping

public ref class QueryStringMediaTypeMapping : MediaTypeMapping

NameDescription
System_CAPS_pubmethodQueryStringMediaTypeMapping(String^, MediaTypeHeaderValue^)

Initializes a new instance of the QueryStringMediaTypeMapping class.

System_CAPS_pubmethodQueryStringMediaTypeMapping(String^, String^)

Initializes a new instance of the QueryStringMediaTypeMapping class.

NameDescription
System_CAPS_pubpropertyMediaType

Gets the MediaTypeHeaderValue that is associated with HttpRequestMessage or HttpResponseMessage instances that have the given characteristics of the MediaTypeMapping. (Inherited from MediaTypeMapping.)

System_CAPS_pubpropertyQueryStringParameterName

Gets the query string parameter name.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTryMatchMediaType(HttpRequestMessage^)

Returns a value indicating whether the current QueryStringMediaTypeMapping instance can return a MediaTypeHeaderValue from request.(Overrides MediaTypeMapping::TryMatchMediaType(HttpRequestMessage^).)

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

Return to top
Show: