AddEventHubStreams(IClientBuilder, string, Action<EventHubOptions>)
staticextension
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.
