# ClusterClientPersistentStreamConfigurator Constructors

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

## ClusterClientPersistentStreamConfigurator(string, IClientBuilder, Func&lt;IServiceProvider, string, IQueueAdapterFactory&gt;) {#constructor-string-orleans-hosting-iclientbuilder-system-func-system-iservicepro-c957a7ac}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.hosting.clusterclientpersistentstreamconfigurator/constructors/constructor-string-orleans-hosting-iclientbuilder-system-func-system-iservicepro-c957a7ac/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/Hosting/ClusterClientPersistentStreamConfigurator.cs#L64-L70)

```csharp
public ClusterClientPersistentStreamConfigurator(string name, IClientBuilder clientBuilder, Func<IServiceProvider, string, IQueueAdapterFactory> adapterFactory)
```

Initializes a new instance of the [ClusterClientPersistentStreamConfigurator](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.hosting.clusterclientpersistentstreamconfigurator/) class.

### Parameters

- `name` (`string`): The stream provider name.
- `clientBuilder` (`IClientBuilder`): The client builder.
- `adapterFactory` (`Func<IServiceProvider, string, IQueueAdapterFactory>`): The adapter factory.
