DefaultHubLifetimeManager<THub>.OnConnectedAsync(HubConnectionContext) 메서드

정의

연결이 시작 될 때 호출 됩니다.

public:
 override System::Threading::Tasks::Task ^ OnConnectedAsync(Microsoft::AspNetCore::SignalR::HubConnectionContext ^ connection);
public override System.Threading.Tasks.Task OnConnectedAsync (Microsoft.AspNetCore.SignalR.HubConnectionContext connection);
override this.OnConnectedAsync : Microsoft.AspNetCore.SignalR.HubConnectionContext -> System.Threading.Tasks.Task
Public Overrides Function OnConnectedAsync (connection As HubConnectionContext) As Task

매개 변수

connection
HubConnectionContext

연결입니다.

반환

Task

Task비동기 연결을 나타내는입니다.

적용 대상