# SiloPersistentStreamConfigurator Constructors

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

## SiloPersistentStreamConfigurator(string, Action&lt;Action&lt;IServiceCollection&gt;&gt;, Func&lt;IServiceProvider, string, IQueueAdapterFactory&gt;) {#constructor-string-system-action-system-action-microsoft-extensions-dependencyin-17457622}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.hosting.silopersistentstreamconfigurator/constructors/constructor-string-system-action-system-action-microsoft-extensions-dependencyin-17457622/)

[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.
