HttpRequestLifetimeFeature クラス

定義

の既定の 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
継承
HttpRequestLifetimeFeature
実装

コンストラクター

HttpRequestLifetimeFeature()

の既定の IHttpRequestLifetimeFeature実装。

プロパティ

RequestAborted

CancellationToken要求が中止され、アプリケーションが処理を停止する必要がある場合に発生する 。 要求が正常に完了した場合、トークンは起動しません。

メソッド

Abort()

まだ完了していない場合は、要求を強制的に中止します。 これにより、RequestAborted がトリガーされます。

適用対象