IConnectionLifetimeFeature.ConnectionClosed 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置 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