# AzureQueueOptions.ConfigureQueueServiceClient(Func&lt;Task&lt;QueueServiceClient&gt;&gt;)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.configuration.azurequeueoptions/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.configuration.azurequeueoptions/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamOptions.cs#L85-L86)

```csharp
[System.Obsolete(Set the QueueServiceClient property directly.)]
public void ConfigureQueueServiceClient(Func<Task<QueueServiceClient>> createClientCallback)
```

Configures the [AzureQueueOptions](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.configuration.azurequeueoptions/) using the provided callback.

### Parameters

- `createClientCallback` (`Func<Task<QueueServiceClient>>`)
