ContentHttpResult Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An ContentHttpResult that when executed will produce a response with content.
public sealed class ContentHttpResult : Microsoft.AspNetCore.Http.IContentTypeHttpResult, Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult
type ContentHttpResult = class
interface IResult
interface IStatusCodeHttpResult
interface IContentTypeHttpResult
Public NotInheritable Class ContentHttpResult
Implements IContentTypeHttpResult, IResult, IStatusCodeHttpResult
- Inheritance
-
ContentHttpResult
- Implements
Properties
ContentType |
Gets the Content-Type header for the response. |
ResponseContent |
Gets the content representing the body of the response. |
StatusCode |
Gets the HTTP status code. |
Methods
ExecuteAsync(HttpContext) |
Writes the content to the HTTP response. |