共用方式為


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

參數

context
HttpContext

傳回

適用於