OkNegotiatedContentResult<T> Class
Represents an action result that performs content negotiation and returns an HttpStatusCode.OK response when it succeeds.
Assembly: System.Web.Http (in System.Web.Http.dll)
| Name | Description | |
|---|---|---|
![]() | OkNegotiatedContentResult<T>(T, ApiController) | Initializes a new instance of the OkNegotiatedContentResult<T> class with the values provided. |
![]() | OkNegotiatedContentResult<T>(T, IContentNegotiator, HttpRequestMessage, IEnumerable<MediaTypeFormatter>) | Initializes a new instance of the OkNegotiatedContentResult<T> class with the values provided. |
| Name | Description | |
|---|---|---|
![]() | Content | Gets the content value to negotiate and format in the entity body. |
![]() | ContentNegotiator | Gets the content negotiator to handle content negotiation. |
![]() | Formatters | Gets the formatters to use to negotiate and format the content. |
![]() | Request | Gets the request message which led to this result. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | ExecuteAsync(CancellationToken) | |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


