# EventHubOptions

Package: [Microsoft.Orleans.Streaming.EventHubs](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Streaming.EventHubs) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubStreamOptions.cs#L15)

```csharp
public class EventHubOptions
```

EventHub settings for a specific hub

## Constructors

- [EventHubOptions](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.configuration.eventhuboptions/constructors/constructor-c26ad255/)

## Properties

- [ConnectionOptions](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.configuration.eventhuboptions/properties/connectionoptions-aac3aedc/)

## Methods

- [ConfigureEventHubConnection(CreateConnectionDelegate, string, string)](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.configuration.eventhuboptions/methods/configureeventhubconnection-orleans-configuration-eventhuboptions-createconnecti-12948cfd/)
- [ConfigureEventHubConnection(EventHubConnection, string)](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.configuration.eventhuboptions/methods/configureeventhubconnection-azure-messaging-eventhubs-eventhubconnection-string-239b2b1a/)
- [ConfigureEventHubConnection(string, string, string)](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.configuration.eventhuboptions/methods/configureeventhubconnection-string-string-string-ac7da8c2/)
- [ConfigureEventHubConnection(string, string, string, AzureNamedKeyCredential)](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.configuration.eventhuboptions/methods/configureeventhubconnection-string-string-string-azure-azurenamedkeycredential-39f56925/)
- [ConfigureEventHubConnection(string, string, string, AzureSasCredential)](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.configuration.eventhuboptions/methods/configureeventhubconnection-string-string-string-azure-azuresascredential-72ec2e9c/)
- [ConfigureEventHubConnection(string, string, string, TokenCredential)](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.configuration.eventhuboptions/methods/configureeventhubconnection-string-string-string-azure-core-tokencredential-6c4f03fb/)
