共用方式為


BadRequest.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

傳回

表示非同步執行作業的工作。

實作

適用於