MessagePackProtocolHubConnectionBuilderExtensions.WithMessagePackProtocol 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
WithMessagePackProtocol(IHubConnectionBuilder) | |
WithMessagePackProtocol(IHubConnectionBuilder, MessagePackHubProtocolOptions) |
WithMessagePackProtocol(IHubConnectionBuilder)
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithMessagePackProtocol(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ builder);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithMessagePackProtocol (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder builder);
static member WithMessagePackProtocol : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithMessagePackProtocol (builder As IHubConnectionBuilder) As IHubConnectionBuilder
参数
- builder
- IHubConnectionBuilder
返回
适用于
WithMessagePackProtocol(IHubConnectionBuilder, MessagePackHubProtocolOptions)
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ WithMessagePackProtocol(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ builder, Microsoft::AspNetCore::SignalR::MessagePackHubProtocolOptions ^ options);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder WithMessagePackProtocol (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder builder, Microsoft.AspNetCore.SignalR.MessagePackHubProtocolOptions options);
static member WithMessagePackProtocol : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * Microsoft.AspNetCore.SignalR.MessagePackHubProtocolOptions -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function WithMessagePackProtocol (builder As IHubConnectionBuilder, options As MessagePackHubProtocolOptions) As IHubConnectionBuilder
参数
- builder
- IHubConnectionBuilder
- options
- MessagePackHubProtocolOptions