Skip to content

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

AddBroadcastChannel(ISiloBuilder, string, Action<BroadcastChannelOptions>)

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

Parameters

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