StatusCodeHttpResult 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.
Represents an IResult that when executed will produce an HTTP response with the given response status code.
public sealed class StatusCodeHttpResult : Microsoft.AspNetCore.Http.IResult, Microsoft.AspNetCore.Http.IStatusCodeHttpResult
type StatusCodeHttpResult = class
interface IResult
interface IStatusCodeHttpResult
Public NotInheritable Class StatusCodeHttpResult
Implements IResult, IStatusCodeHttpResult
- Inheritance
-
StatusCodeHttpResult
- Implements
Properties
StatusCode |
Gets the HTTP status code. |
Methods
ExecuteAsync(HttpContext) |
Sets the status code on the HTTP response. |
Explicit Interface Implementations
IStatusCodeHttpResult.StatusCode |