IHttpRequestLifetimeFeature.RequestAborted 属性

定义

如果 CancellationToken 请求中止且应用程序应停止处理,则触发的 。 如果请求成功完成,则不会触发令牌。

public:
 property System::Threading::CancellationToken RequestAborted { System::Threading::CancellationToken get(); void set(System::Threading::CancellationToken value); };
public System.Threading.CancellationToken RequestAborted { get; set; }
member this.RequestAborted : System.Threading.CancellationToken with get, set
Public Property RequestAborted As CancellationToken

属性值

适用于