# AzureQueueOptionsValidator Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.configuration.azurequeueoptionsvalidator/)

## Create(IServiceProvider, string) {#create-system-iserviceprovider-string-beae04d7}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.configuration.azurequeueoptionsvalidator/methods/create-system-iserviceprovider-string-beae04d7/)

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

```csharp
public static IConfigurationValidator Create(IServiceProvider services, string name)
```

### Parameters

- `services` (`IServiceProvider`)
- `name` (`string`)

## ValidateConfiguration {#validateconfiguration-c34f2881}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.azurestorage/orleans.configuration.azurequeueoptionsvalidator/methods/validateconfiguration-c34f2881/)

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

```csharp
public void ValidateConfiguration()
```

Validates system configuration and throws an exception if configuration is not valid.
