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

属性值

适用于