Condividi tramite


HubConnectionContext.Protocol Proprietà

Definizione

Ottiene il protocollo usato da questa connessione.

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

Valore della proprietà

Si applica a