共用方式為


RazorComponentResult.ExecuteAsync(HttpContext) 方法

定義

處理這個結果時,會 httpContext 指定 。

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與目前要求相關聯的 。

傳回

Task 會在執行完成時完成。

實作

適用於