Edytuj

Udostępnij za pośrednictwem


ChannelHostingExtensions.AddBroadcastChannel Method

Definition

Overloads

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

Add a new broadcast channel to the client.

AddBroadcastChannel(IClientBuilder, String, Action<BroadcastChannelOptions>)

Add a new broadcast channel to the client.

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

Add a new broadcast channel to the silo.

AddBroadcastChannel(ISiloBuilder, String, Action<BroadcastChannelOptions>)

Add a new broadcast channel to the silo.

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

Add a new broadcast channel to the client.

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

Parameters

this
IClientBuilder

The builder.

name
String

The name of the provider

configureOptions
Action<OptionsBuilder<BroadcastChannelOptions>>

The configuration delegate.

Returns

Applies to

AddBroadcastChannel(IClientBuilder, String, Action<BroadcastChannelOptions>)

Add a new broadcast channel to the client.

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

Parameters

this
IClientBuilder

The builder.

name
String

The name of the provider

configureOptions
Action<BroadcastChannelOptions>

The configuration delegate.

Returns

Applies to

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

Add a new broadcast channel to the silo.

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

Parameters

this
ISiloBuilder

The builder.

name
String

The name of the provider

configureOptions
Action<OptionsBuilder<BroadcastChannelOptions>>

The configuration delegate.

Returns

Applies to

AddBroadcastChannel(ISiloBuilder, String, Action<BroadcastChannelOptions>)

Add a new broadcast channel to the silo.

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

Parameters

this
ISiloBuilder

The builder.

name
String

The name of the provider

configureOptions
Action<BroadcastChannelOptions>

The configuration delegate.

Returns

Applies to