Hub.OnConnectedAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when a new connection is established with the hub.
public:
virtual System::Threading::Tasks::Task ^ OnConnectedAsync();
public virtual System.Threading.Tasks.Task OnConnectedAsync ();
abstract member OnConnectedAsync : unit -> System.Threading.Tasks.Task
override this.OnConnectedAsync : unit -> System.Threading.Tasks.Task
Public Overridable Function OnConnectedAsync () As Task
Returns
A Task that represents the asynchronous connect.