# PersistentStreamStorageConfigurationValidator Methods

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

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

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.hosting.persistentstreamstorageconfigurationvalidator/methods/create-system-iserviceprovider-string-425d14f5/)

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

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

Creates a new [PersistentStreamStorageConfigurationValidator](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.hosting.persistentstreamstorageconfigurationvalidator/) instance.

### Parameters

- `services` (`IServiceProvider`): The services.
- `name` (`string`): The name.

### Returns

The newly created instance.

## ValidateConfiguration {#validateconfiguration-f8013779}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.hosting.persistentstreamstorageconfigurationvalidator/methods/validateconfiguration-f8013779/)

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

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

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