# EventHubsStreamProviderBuilder Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.hosting.eventhubsstreamproviderbuilder/)

## Configure(IClientBuilder, string?, IConfigurationSection) {#configure-orleans-hosting-iclientbuilder-string-nullable-microsoft-extensions-co-81f71d29}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.hosting.eventhubsstreamproviderbuilder/methods/configure-orleans-hosting-iclientbuilder-string-nullable-microsoft-extensions-co-81f71d29/)

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Azure/Orleans.Streaming.EventHubs/Hosting/EventHubsStreamProviderBuilder.cs)

```csharp
public void Configure(IClientBuilder builder, string? name, IConfigurationSection configurationSection)
```

Configures the provider.

### Parameters

- `builder` (`IClientBuilder`): The builder.
- `name` (`string?`): The provider name, or `null` if no name is specified.
- `configurationSection` (`IConfigurationSection`): The configuration section containing provider configuration.

## Configure(ISiloBuilder, string?, IConfigurationSection) {#configure-orleans-hosting-isilobuilder-string-nullable-microsoft-extensions-conf-f2fd820b}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.hosting.eventhubsstreamproviderbuilder/methods/configure-orleans-hosting-isilobuilder-string-nullable-microsoft-extensions-conf-f2fd820b/)

[Source](https://github.com/dotnet/orleans/blob/1644940b035c7bdf215a4fd7135757c06bcfe9ec/src/Azure/Orleans.Streaming.EventHubs/Hosting/EventHubsStreamProviderBuilder.cs)

```csharp
public void Configure(ISiloBuilder builder, string? name, IConfigurationSection configurationSection)
```

Configures the provider.

### Parameters

- `builder` (`ISiloBuilder`): The builder.
- `name` (`string?`): The provider name, or `null` if no name is specified.
- `configurationSection` (`IConfigurationSection`): The configuration section containing provider configuration.
