FormattedContentResult<T> Class
Represents an action result that returns formatted content.
Assembly: System.Web.Http (in System.Web.Http.dll)
| Name | Description | |
|---|---|---|
![]() | FormattedContentResult<T>(HttpStatusCode, T, MediaTypeFormatter^, MediaTypeHeaderValue^, ApiController^) | Initializes a new instance of the FormattedContentResult<T> class with the values provided. |
![]() | FormattedContentResult<T>(HttpStatusCode, T, MediaTypeFormatter^, MediaTypeHeaderValue^, HttpRequestMessage^) | Initializes a new instance of the FormattedContentResult<T> class with the values provided. |
| Name | Description | |
|---|---|---|
![]() | Content | Gets the content value to format in the entity body. |
![]() | Formatter | Gets the formatter to use to format the content. |
![]() | MediaType | Gets the value for the Content-Type header, or null to have the formatter pick a default value. |
![]() | Request | Gets the request message which led to this result. |
![]() | StatusCode | Gets the HTTP status code for the response message. |
| 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.


