Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ContentNegotiationResult Class

ContentNegotiationResult Class

Represents the result of content negotiation performed using <see cref="M:System.Net.Http.Formatting.IContentNegotiator.Negotiate(System.Type,System.Net.Http.HttpRequestMessage,System.Collections.Generic.IEnumerable{System.Net.Http.Formatting.MediaTypeFormatter})" />

System.Object
  System.Net.Http.Formatting.ContentNegotiationResult

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

public class ContentNegotiationResult

The ContentNegotiationResult type exposes the following members.

  NameDescription
Public methodContentNegotiationResult Create the content negotiation result object.
Top

  NameDescription
Public propertyFormatter The formatter chosen for serialization.
Public propertyMediaType The media type that is associated with the formatter chosen for serialization. Can be null.
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.)
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:
© 2015 Microsoft