Udostępnij za pośrednictwem


CircuitHandler.OnConnectionDownAsync(Circuit, CancellationToken) Metoda

Definicja

Wywoływane po usunięciu połączenia z klientem.

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

Parametry

circuit
Circuit

Element Circuit.

cancellationToken
CancellationToken

Element CancellationToken.

Zwraca

Task reprezentuje operację wykonywania asynchronicznego.

Dotyczy