次の方法で共有


CircuitHandler.OnConnectionDownAsync(Circuit, CancellationToken) メソッド

定義

クライアントへの接続が切断されたときに呼び出されます。

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

パラメーター

circuit
Circuit

Circuit

cancellationToken
CancellationToken

CancellationToken

戻り値

Task 非同期実行操作を表す 。

適用対象