HubConnectionStore.Item[String] Property
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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for