Condividi tramite


CircuitHandler.OnConnectionDownAsync(Circuit, CancellationToken) Metodo

Definizione

Richiamato quando è stata eliminata una connessione al client.

public:
 virtual System::Threading::Tasks::Task ^ OnConnectionDownAsync(Microsoft::AspNetCore::Components::Server::Circuits::Circuit ^ circuit, System::Threading::CancellationToken cancellationToken);
public virtual System.Threading.Tasks.Task OnConnectionDownAsync (Microsoft.AspNetCore.Components.Server.Circuits.Circuit circuit, System.Threading.CancellationToken cancellationToken);
abstract member OnConnectionDownAsync : Microsoft.AspNetCore.Components.Server.Circuits.Circuit * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.OnConnectionDownAsync : Microsoft.AspNetCore.Components.Server.Circuits.Circuit * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function OnConnectionDownAsync (circuit As Circuit, cancellationToken As CancellationToken) As Task

Parametri

circuit
Circuit

Oggetto Circuit.

cancellationToken
CancellationToken

Oggetto CancellationToken.

Restituisce

Task che rappresenta l'operazione di esecuzione asincrona.

Si applica a