Partilhar via


CircuitHandler.OnCircuitOpenedAsync(Circuit, CancellationToken) Método

Definição

Invocado quando um novo circuito foi estabelecido.

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

Parâmetros

circuit
Circuit

O Circuit.

cancellationToken
CancellationToken

Um CancellationToken que notifica quando a conexão do cliente é anulada.

Retornos

Task que representa a operação de execução assíncrona.

Aplica-se a