# SiloPersistentStreamConfigurator.SiloPersistentStreamConfigurator(string, Action&lt;Action&lt;IServiceCollection&gt;&gt;, Func&lt;IServiceProvider, string, IQueueAdapterFactory&gt;)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.hosting.silopersistentstreamconfigurator/) | [Constructors](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.hosting.silopersistentstreamconfigurator/constructors/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/SiloPersistentStreamConfigurator.cs#L69-L77)

```csharp
public SiloPersistentStreamConfigurator(string name, Action<Action<IServiceCollection>> configureDelegate, Func<IServiceProvider, string, IQueueAdapterFactory> adapterFactory)
```

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

### Parameters

- `name` (`string`): The stream provider name.
- `configureDelegate` (`Action<Action<IServiceCollection>>`): The configuration delegate.
- `adapterFactory` (`Func<IServiceProvider, string, IQueueAdapterFactory>`): The adapter factory.
