HubLifetimeManager<THub>.OnConnectedAsync(HubConnectionContext) メソッド

定義

接続の開始時に呼び出されます。

public:
 abstract System::Threading::Tasks::Task ^ OnConnectedAsync(Microsoft::AspNetCore::SignalR::HubConnectionContext ^ connection);
public abstract System.Threading.Tasks.Task OnConnectedAsync (Microsoft.AspNetCore.SignalR.HubConnectionContext connection);
abstract member OnConnectedAsync : Microsoft.AspNetCore.SignalR.HubConnectionContext -> System.Threading.Tasks.Task
Public MustOverride Function OnConnectedAsync (connection As HubConnectionContext) As Task

パラメーター

connection
HubConnectionContext

接続。

戻り値

Task非同期接続を表す 。

適用対象