# ChannelHostingExtensions.AddBroadcastChannel(IClientBuilder, string, Action&lt;BroadcastChannelOptions&gt;)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.broadcastchannel/orleans.hosting.channelhostingextensions/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.broadcastchannel/orleans.hosting.channelhostingextensions/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.BroadcastChannel/Hosting/ChannelHostingExtensions.cs)

```csharp
public static IClientBuilder AddBroadcastChannel(this IClientBuilder @this, string name, Action<BroadcastChannelOptions> configureOptions)
```

Add a new broadcast channel to the client.

### Parameters

- `this` (`IClientBuilder`): The builder.
- `name` (`string`): The name of the provider
- `configureOptions` (`Action<BroadcastChannelOptions>`): The configuration delegate.
