共用方式為


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

屬性值

適用於