# ClientBuilderExtensions Methods

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

## AddAzureQueueStreams(IClientBuilder, string, Action&lt;ClusterClientAzureQueueStreamConfigurator&gt;) {#addazurequeuestreams-this-orleans-hosting-iclientbuilder-string-system-action-or-3d3f8784}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.hosting.clientbuilderextensions/methods/addazurequeuestreams-this-orleans-hosting-iclientbuilder-string-system-action-or-3d3f8784/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.AzureStorage/Hosting/ClientBuilderExtensions.cs#L17-L19)

```csharp
public static IClientBuilder AddAzureQueueStreams(this IClientBuilder builder, string name, Action<ClusterClientAzureQueueStreamConfigurator> configure)
```

Configure cluster client to use azure queue persistent streams.

### Parameters

- `builder` (`IClientBuilder`)
- `name` (`string`)
- `configure` (`Action<ClusterClientAzureQueueStreamConfigurator>`)

## AddAzureQueueStreams(IClientBuilder, string, Action&lt;OptionsBuilder&lt;AzureQueueOptions&gt;&gt;) {#addazurequeuestreams-this-orleans-hosting-iclientbuilder-string-system-action-mi-6ca893b9}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.hosting.clientbuilderextensions/methods/addazurequeuestreams-this-orleans-hosting-iclientbuilder-string-system-action-mi-6ca893b9/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.AzureStorage/Hosting/ClientBuilderExtensions.cs#L28-L30)

```csharp
public static IClientBuilder AddAzureQueueStreams(this IClientBuilder builder, string name, Action<OptionsBuilder<AzureQueueOptions>> configureOptions)
```

Configure cluster client to use azure queue persistent streams.

### Parameters

- `builder` (`IClientBuilder`)
- `name` (`string`)
- `configureOptions` (`Action<OptionsBuilder<AzureQueueOptions>>`)
