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

属性值

适用于