ForbidHttpResult.ExecuteAsync(HttpContext) Method
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.
Write an HTTP response reflecting the result.
public System.Threading.Tasks.Task ExecuteAsync (Microsoft.AspNetCore.Http.HttpContext httpContext);
abstract member ExecuteAsync : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task
override this.ExecuteAsync : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task
Public Function ExecuteAsync (httpContext As HttpContext) As Task
- httpContext
- HttpContext
The HttpContext for the current request.
A task that represents the asynchronous execute operation.
Product | Versions |
---|---|
ASP.NET Core | 7.0, 8.0, 9.0 |