다음을 통해 공유


CircuitHandler.OnCircuitOpenedAsync(Circuit, CancellationToken) 메서드

정의

새 회로가 설정되었을 때 호출됩니다.

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

매개 변수

circuit
Circuit

Circuit

cancellationToken
CancellationToken

CancellationToken 클라이언트 연결이 중단될 때 알 수 있는 입니다.

반환

Task 비동기 실행 작업을 나타내는 입니다.

적용 대상