# EventHubOptionsValidator Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.configuration.eventhuboptionsvalidator/)

## ValidateConfiguration {#validateconfiguration-e9138334}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.configuration.eventhuboptionsvalidator/methods/validateconfiguration-e9138334/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubStreamOptions.cs#L177-L191)

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

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