Partager via


HubConnectionContext.Protocol Propriété

Définition

Obtient le protocole utilisé par cette connexion.

public:
 virtual property Microsoft::AspNetCore::SignalR::Protocol::IHubProtocol ^ Protocol { Microsoft::AspNetCore::SignalR::Protocol::IHubProtocol ^ get(); };
public:
 virtual property Microsoft::AspNetCore::SignalR::Protocol::IHubProtocol ^ Protocol { Microsoft::AspNetCore::SignalR::Protocol::IHubProtocol ^ get(); void set(Microsoft::AspNetCore::SignalR::Protocol::IHubProtocol ^ value); };
public virtual Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol Protocol { get; }
public virtual Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol Protocol { get; set; }
member this.Protocol : Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol
member this.Protocol : Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol with get, set
Public Overridable ReadOnly Property Protocol As IHubProtocol
Public Overridable Property Protocol As IHubProtocol

Valeur de propriété

S’applique à