Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Class that provides MediaTypeHeaderValues from query strings.
Namespace:   System.Web.OData.Formatter
Assembly:  System.Web.OData (in System.Web.OData.dll)
Inheritance Hierarchy
System.Object
  System.Net.Http.Formatting.MediaTypeMapping
    System.Web.OData.Formatter.QueryStringMediaTypeMapping
Syntax
public class QueryStringMediaTypeMapping : MediaTypeMapping
public ref class QueryStringMediaTypeMapping : MediaTypeMapping
type QueryStringMediaTypeMapping = 
    class
        inherit MediaTypeMapping
    end
Public Class QueryStringMediaTypeMapping
    Inherits MediaTypeMapping
Constructors
| Name | Description | |
|---|---|---|
| .jpeg) | QueryStringMediaTypeMapping(String, MediaTypeHeaderValue) | Initializes a new instance of the QueryStringMediaTypeMapping class. | 
| .jpeg) | QueryStringMediaTypeMapping(String, String) | Initializes a new instance of the QueryStringMediaTypeMapping class. | 
Properties
| Name | Description | |
|---|---|---|
| .jpeg) | MediaType | Gets the MediaTypeHeaderValue that is associated with HttpRequestMessage or HttpResponseMessage instances that have the given characteristics of the MediaTypeMapping. (Inherited from MediaTypeMapping.) | 
| .jpeg) | QueryStringParameterName | Gets the query string parameter name. | 
Methods
| Name | Description | |
|---|---|---|
| .jpeg) | Equals(Object) | (Inherited from Object.) | 
| .jpeg) | Finalize() | (Inherited from Object.) | 
| .jpeg) | GetHashCode() | (Inherited from Object.) | 
| .jpeg) | GetType() | (Inherited from Object.) | 
| .jpeg) | MemberwiseClone() | (Inherited from Object.) | 
| .jpeg) | ToString() | (Inherited from Object.) | 
| .jpeg) | TryMatchMediaType(HttpRequestMessage) | Returns a value indicating whether the current QueryStringMediaTypeMapping instance can return a MediaTypeHeaderValue from request.(Overrides MediaTypeMapping.TryMatchMediaType(HttpRequestMessage).) | 
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
System.Web.OData.Formatter Namespace
Return to top