OkNegotiatedContentResult<T> Class¶
Summary¶
Represents an action result that performs content negotiation and returns an [System.Net.HttpStatusCode.OK]() response when it succeeds.
Inheritance Hierarchy¶
System.Object
Microsoft.AspNet.Mvc.ActionResult
Microsoft.AspNet.Mvc.ObjectResult
System.Web.Http.NegotiatedContentResult{{T}}
System.Web.Http.OkNegotiatedContentResult<T>
Constructors¶
-
OkNegotiatedContentResult
(T)¶ Initializes a new instance of the [System.Web.Http.OkNegotiatedContentResult`1](System.Web.Http.OkNegotiatedContentResult`1.yml) class with the values provided.
Arguments: - content (T) – The content value to negotiate and format in the entity body.
public OkNegotiatedContentResult(T content)
-