HubConnectionStore.Item[String] Propriedade

Definição

Obtenha a HubConnectionContext ID de conexão por.

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

Parâmetros

connectionId
String

A ID da conexão.

Valor da propriedade

A conexão para o connectionId, nulo se não houver nenhuma conexão.

Aplica-se a