MessagePackProtocolHubConnectionBuilderExtensions.WithMessagePackProtocol Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
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