共用方式為


HubConnectionContext.Protocol 屬性

定義

取得這個連接所使用的通訊協定。

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

屬性值

適用於