Поделиться через


ChannelHostingExtensions.AddBroadcastChannel Метод

Определение

Перегрузки

AddBroadcastChannel(IClientBuilder, String, Action<OptionsBuilder<BroadcastChannelOptions>>)

Добавьте в клиент новый широковещательный канал.

AddBroadcastChannel(IClientBuilder, String, Action<BroadcastChannelOptions>)

Добавьте в клиент новый широковещательный канал.

AddBroadcastChannel(ISiloBuilder, String, Action<OptionsBuilder<BroadcastChannelOptions>>)

Добавьте новый широковещательный канал в хранилище.

AddBroadcastChannel(ISiloBuilder, String, Action<BroadcastChannelOptions>)

Добавьте новый широковещательный канал в хранилище.

AddBroadcastChannel(IClientBuilder, String, Action<OptionsBuilder<BroadcastChannelOptions>>)

Добавьте в клиент новый широковещательный канал.

public static Orleans.Hosting.IClientBuilder AddBroadcastChannel (this Orleans.Hosting.IClientBuilder this, string name, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.BroadcastChannel.BroadcastChannelOptions>> configureOptions = default);
static member AddBroadcastChannel : string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.BroadcastChannel.BroadcastChannelOptions>> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function AddBroadcastChannel (this As IClientBuilder, name As String, Optional configureOptions As Action(Of OptionsBuilder(Of BroadcastChannelOptions)) = Nothing) As IClientBuilder

Параметры

this
IClientBuilder

Построитель.

name
String

Имя поставщика

configureOptions
Action<OptionsBuilder<BroadcastChannelOptions>>

Делегат конфигурации.

Возвращаемое значение

Применяется к

AddBroadcastChannel(IClientBuilder, String, Action<BroadcastChannelOptions>)

Добавьте в клиент новый широковещательный канал.

public static Orleans.Hosting.IClientBuilder AddBroadcastChannel (this Orleans.Hosting.IClientBuilder this, string name, Action<Orleans.BroadcastChannel.BroadcastChannelOptions> configureOptions);
static member AddBroadcastChannel : string * Action<Orleans.BroadcastChannel.BroadcastChannelOptions> -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function AddBroadcastChannel (this As IClientBuilder, name As String, configureOptions As Action(Of BroadcastChannelOptions)) As IClientBuilder

Параметры

this
IClientBuilder

Построитель.

name
String

Имя поставщика

configureOptions
Action<BroadcastChannelOptions>

Делегат конфигурации.

Возвращаемое значение

Применяется к

AddBroadcastChannel(ISiloBuilder, String, Action<OptionsBuilder<BroadcastChannelOptions>>)

Добавьте новый широковещательный канал в хранилище.

public static Orleans.Hosting.ISiloBuilder AddBroadcastChannel (this Orleans.Hosting.ISiloBuilder this, string name, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.BroadcastChannel.BroadcastChannelOptions>> configureOptions = default);
static member AddBroadcastChannel : string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.BroadcastChannel.BroadcastChannelOptions>> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddBroadcastChannel (this As ISiloBuilder, name As String, Optional configureOptions As Action(Of OptionsBuilder(Of BroadcastChannelOptions)) = Nothing) As ISiloBuilder

Параметры

this
ISiloBuilder

Построитель.

name
String

Имя поставщика

configureOptions
Action<OptionsBuilder<BroadcastChannelOptions>>

Делегат конфигурации.

Возвращаемое значение

Применяется к

AddBroadcastChannel(ISiloBuilder, String, Action<BroadcastChannelOptions>)

Добавьте новый широковещательный канал в хранилище.

public static Orleans.Hosting.ISiloBuilder AddBroadcastChannel (this Orleans.Hosting.ISiloBuilder this, string name, Action<Orleans.BroadcastChannel.BroadcastChannelOptions> configureOptions);
static member AddBroadcastChannel : string * Action<Orleans.BroadcastChannel.BroadcastChannelOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddBroadcastChannel (this As ISiloBuilder, name As String, configureOptions As Action(Of BroadcastChannelOptions)) As ISiloBuilder

Параметры

this
ISiloBuilder

Построитель.

name
String

Имя поставщика

configureOptions
Action<BroadcastChannelOptions>

Делегат конфигурации.

Возвращаемое значение

Применяется к