Export (0) Print
Expand All

QueryStringMapping Class

Class that provides MediaTypeHeaderValues from query strings.

System.Object
  System.Net.Http.Formatting.MediaTypeMapping
    System.Net.Http.Formatting.QueryStringMapping

Namespace:  System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

public class QueryStringMapping : MediaTypeMapping

The QueryStringMapping type exposes the following members.

  NameDescription
Public methodQueryStringMapping(String, String, MediaTypeHeaderValue) Initializes a new instance of the QueryStringMapping class.
Public methodQueryStringMapping(String, String, String) Initializes a new instance of the QueryStringMapping class.
Top

  NameDescription
Public propertyMediaType Gets the MediaTypeHeaderValue that is associated with HttpRequestMessage or HttpResponseMessage instances that have the given characteristics of the MediaTypeMapping. (Inherited from MediaTypeMapping.)
Public propertyQueryStringParameterName Gets the query string parameter name.
Public propertyQueryStringParameterValue Gets the query string parameter value.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodTryMatchMediaType Returns a value indicating whether the current QueryStringMapping instance can return a MediaTypeHeaderValue from request. (Overrides MediaTypeMapping.TryMatchMediaType(HttpRequestMessage).)
Top

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