Skip to content

EventHubOptions.ConfigureEventHubConnection(string, string, string, TokenCredential)

ConfigureEventHubConnection(string, string, string, TokenCredential)

View source
public void ConfigureEventHubConnection(string fullyQualifiedNamespace, string eventHubName, string consumerGroup, TokenCredential credential)
Configures the Azure Event Hub connection using the provided fully-qualified namespace string and credential.

Parameters

fullyQualifiedNamespacestring
The fully qualified Event Hubs namespace.
eventHubNamestring
The Event Hub name.
consumerGroupstring
The consumer group name.
credentialTokenCredential
The token credential.