共用方式為


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>

組態委派。

傳回

適用於