Sdílet prostřednictvím


CircuitHandler.OnCircuitClosedAsync(Circuit, CancellationToken) Metoda

Definice

Vyvoláno při zahození nového okruhu.

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

Parametry

circuit
Circuit

Hodnota Circuit

cancellationToken
CancellationToken

Hodnota CancellationToken

Návraty

Task představuje operaci asynchronního spuštění.

Platí pro