Compartir a través de


HttpRequestLifetimeFeature Clase

Definición

Implementación predeterminada para IHttpRequestLifetimeFeature.

public ref class HttpRequestLifetimeFeature : Microsoft::AspNetCore::Http::Features::IHttpRequestLifetimeFeature
public class HttpRequestLifetimeFeature : Microsoft.AspNetCore.Http.Features.IHttpRequestLifetimeFeature
type HttpRequestLifetimeFeature = class
    interface IHttpRequestLifetimeFeature
Public Class HttpRequestLifetimeFeature
Implements IHttpRequestLifetimeFeature
Herencia
HttpRequestLifetimeFeature
Implementaciones

Constructores

HttpRequestLifetimeFeature()

Implementación predeterminada para IHttpRequestLifetimeFeature.

Propiedades

RequestAborted

que CancellationToken se desencadena si se anula la solicitud y la aplicación debe dejar de procesarse. El token no se activará si la solicitud se completa correctamente.

Métodos

Abort()

Anula forzosamente la solicitud si aún no se ha completado. Esto provocará que se desencadene RequestAborted.

Se aplica a