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.
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})" />
Inheritance Hierarchy
System.Object
System.Net.Http.Formatting.ContentNegotiationResult
Namespace: System.Net.Http.Formatting
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
Syntax
'Declaration
Public Class ContentNegotiationResult
'Usage
Dim instance As ContentNegotiationResult
public class ContentNegotiationResult
public ref class ContentNegotiationResult
type ContentNegotiationResult = class end
public class ContentNegotiationResult
The ContentNegotiationResult type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
ContentNegotiationResult | Create the content negotiation result object. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
Formatter | The formatter chosen for serialization. |
![]() |
MediaType | The media type that is associated with the formatter chosen for serialization. Can be null. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
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.