共用方式為


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

傳回

適用於