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

要删除的连接。

适用于