Freigeben über


MediaTypeFormatterMatch Class

This class describes how well a particular MediaTypeFormatter matches a request.

Inheritance Hierarchy

System.Object
  System.Net.Http.Formatting.MediaTypeFormatterMatch

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

Syntax

'Declaration
Public Class MediaTypeFormatterMatch
'Usage
Dim instance As MediaTypeFormatterMatch
public class MediaTypeFormatterMatch
public ref class MediaTypeFormatterMatch
type MediaTypeFormatterMatch =  class end
public class MediaTypeFormatterMatch

The MediaTypeFormatterMatch type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Formatter Gets the media type formatter.
Public property MediaType Gets the matched media type.
Public property Quality Gets the quality of the match
Public property Ranking Gets the kind of match that occurred.

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 MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

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.Net.Http.Formatting Namespace