IConnectionLifetimeNotificationFeature.ConnectionClosedRequested 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定 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