HubConnectionContext.Protocol 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得這個連接所使用的通訊協定。
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