共用方式為


IConnectionLifetimeFeature.ConnectionClosed 屬性

定義

取得或設定 CancellationToken 關閉連接時所觸發的 。

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

屬性值

適用於