Share via


HubConnectionStore.Item[String] Property

Definition

Get the HubConnectionContext by connection ID.

public:
 property Microsoft::AspNetCore::SignalR::HubConnectionContext ^ default[System::String ^] { Microsoft::AspNetCore::SignalR::HubConnectionContext ^ get(System::String ^ connectionId); };
public Microsoft.AspNetCore.SignalR.HubConnectionContext this[string connectionId] { get; }
public Microsoft.AspNetCore.SignalR.HubConnectionContext? this[string connectionId] { get; }
member this.Item(string) : Microsoft.AspNetCore.SignalR.HubConnectionContext
Default Public ReadOnly Property Item(connectionId As String) As HubConnectionContext

Parameters

connectionId
String

The ID of the connection.

Property Value

The connection for the connectionId, null if there is no connection.

Applies to