HubConnectionStore.Item[String] Vlastnost

Definice

HubConnectionContext Získejte ID připojení.

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

Parametry

connectionId
String

ID připojení.

Hodnota vlastnosti

HubConnectionContext

Pokud neexistuje žádné připojení, připojení pro connectionIdhodnotu null.

Platí pro