Condividi tramite


RedisHubLifetimeManager<THub>.OnDisconnectedAsync Metodo

Definizione

Chiamato al termine di una connessione.

public:
 override System::Threading::Tasks::Task ^ OnDisconnectedAsync(Microsoft::AspNetCore::SignalR::HubConnectionContext ^ connection);
public override System.Threading.Tasks.Task OnDisconnectedAsync (Microsoft.AspNetCore.SignalR.HubConnectionContext connection);
override this.OnDisconnectedAsync : Microsoft.AspNetCore.SignalR.HubConnectionContext -> System.Threading.Tasks.Task
Public Overrides Function OnDisconnectedAsync (connection As HubConnectionContext) As Task

Parametri

connection
HubConnectionContext

Connessione.

Restituisce

Oggetto Task che rappresenta la disconnessione asincrona.

Si applica a