RequestDelegate Delegate
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A function that can process an HTTP request.
public delegate System::Threading::Tasks::Task ^ RequestDelegate(HttpContext ^ context);
C#
public delegate System.Threading.Tasks.Task RequestDelegate(HttpContext context);
type RequestDelegate = delegate of HttpContext -> Task
Public Delegate Function RequestDelegate(context As HttpContext) As Task
- context
- HttpContext
The HttpContext for the request.
A task that represents the completion of request processing.
Product | Versions |
---|---|
ASP.NET Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |