# EventHubOptionsValidator.ValidateConfiguration

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

[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.
