共用方式為


RequestLocalizationMiddleware.Invoke(HttpContext) 方法

定義

叫用中介軟體的邏輯。

public:
 System::Threading::Tasks::Task ^ Invoke(Microsoft::AspNetCore::Http::HttpContext ^ context);
public System.Threading.Tasks.Task Invoke (Microsoft.AspNetCore.Http.HttpContext context);
member this.Invoke : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task
Public Function Invoke (context As HttpContext) As Task

參數

傳回

Task 會在中介軟體完成處理時完成。

適用於