Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.