HttpRequestLifetimeFeature Class
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.
Default implementation for IHttpRequestLifetimeFeature.
public ref class HttpRequestLifetimeFeature : Microsoft::AspNetCore::Http::Features::IHttpRequestLifetimeFeature
C#
public class HttpRequestLifetimeFeature : Microsoft.AspNetCore.Http.Features.IHttpRequestLifetimeFeature
type HttpRequestLifetimeFeature = class
interface IHttpRequestLifetimeFeature
Public Class HttpRequestLifetimeFeature
Implements IHttpRequestLifetimeFeature
- Inheritance
-
HttpRequestLifetimeFeature
- Implements
Request |
A CancellationToken that fires if the request is aborted and the application should cease processing. The token will not fire if the request completes successfully. |
Abort() |
Forcefully aborts the request if it has not already completed. This will result in RequestAborted being triggered. |
Tuote | Versiot |
---|---|
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 |