IConnectionLifetimeNotificationFeature 介面

定義

啟用連線的正常終止。

public interface class IConnectionLifetimeNotificationFeature
public interface IConnectionLifetimeNotificationFeature
type IConnectionLifetimeNotificationFeature = interface
Public Interface IConnectionLifetimeNotificationFeature

屬性

ConnectionClosedRequested

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

方法

RequestClose()

要求關閉連線。

適用於