Skip to content

ClientBuilderExtensions.AddEventHubStreams(IClientBuilder, string, Action<EventHubOptions>)

AddEventHubStreams(IClientBuilder, string, Action<EventHubOptions>)

staticextension
View source
public static IClientBuilder AddEventHubStreams(this IClientBuilder builder, string name, Action<EventHubOptions> configureEventHub)
Adds a named Azure Event Hubs persistent stream provider to the client.

Parameters

builderIClientBuilder
The client builder.
namestring
The stream provider name.
configureEventHubAction<EventHubOptions>
The delegate used to configure the Event Hub connection.

Returns

The client builder.