共用方式為


HubConnectionStore.Remove(HubConnectionContext) 方法

定義

HubConnectionContext從存放區中移除 。

public:
 void Remove(Microsoft::AspNetCore::SignalR::HubConnectionContext ^ connection);
public void Remove (Microsoft.AspNetCore.SignalR.HubConnectionContext connection);
member this.Remove : Microsoft.AspNetCore.SignalR.HubConnectionContext -> unit
Public Sub Remove (connection As HubConnectionContext)

參數

connection
HubConnectionContext

要移除的連線。

適用於