EmptyHttpResult Class

Definition

Represents an IResult that when executed will do nothing.

C#
public sealed class EmptyHttpResult : Microsoft.AspNetCore.Http.IResult
Inheritance
EmptyHttpResult
Implements

Properties

Instance

Gets an instance of EmptyHttpResult.

Methods

ExecuteAsync(HttpContext)

Write an HTTP response reflecting the result.

Applies to

Product Versions
ASP.NET Core 7.0, 8.0, 9.0