HubConnectionStore.Item[String] Eigenschaft

Definition

Rufen Sie die HubConnectionContext nach Verbindungs-ID ab.

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

Parameter

connectionId
String

Die ID der Verbindung.

Eigenschaftswert

Die Verbindung für , connectionIdnull, wenn keine Verbindung besteht.

Gilt für: