Skip to content

ChannelHostingExtensions.AddBroadcastChannel(ISiloBuilder, string, Action<OptionsBuilder<BroadcastChannelOptions>>)

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

staticextension
View source
public static ISiloBuilder AddBroadcastChannel(this ISiloBuilder @this, string name, Action<OptionsBuilder<BroadcastChannelOptions>> configureOptions = null)
Add a new broadcast channel to the silo.

Parameters

thisISiloBuilder
The builder.
namestring
The name of the provider
configureOptionsAction<OptionsBuilder<BroadcastChannelOptions>>
The configuration delegate.