共用方式為


IConnectionLifetimeNotificationFeature.ConnectionClosedRequested 屬性

定義

取得或設定 CancellationToken ,這個值會在要求關閉連接時觸發。

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

屬性值

適用於