UnauthorizedHttpResult.ExecuteAsync(HttpContext) 方法

定义

编写反映结果的 HTTP 响应。

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

当前请求的 HttpContext

返回

表示异步执行操作的任务。

实现

适用于