DatabaseErrorPageMiddleware.Invoke(HttpContext) 方法

定义

处理单个请求。

public:
 virtual System::Threading::Tasks::Task ^ Invoke(Microsoft::AspNetCore::Http::HttpContext ^ httpContext);
public virtual System.Threading.Tasks.Task Invoke (Microsoft.AspNetCore.Http.HttpContext httpContext);
abstract member Invoke : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task
override this.Invoke : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task
Public Overridable Function Invoke (httpContext As HttpContext) As Task

参数

httpContext
HttpContext

当前请求的 HTTP 上下文。

返回

表示异步操作的任务。

适用于