共用方式為


EventHubClientBuilderExtensions Class

Definition

The set of extensions to add the Event Hub client types to the clients builder

public static class EventHubClientBuilderExtensions
type EventHubClientBuilderExtensions = class
Public Module EventHubClientBuilderExtensions
Inheritance
EventHubClientBuilderExtensions

Methods

AddEventHubConsumerClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registers a EventHubConsumerClient instance with connection options loaded from the provided configuration instance.

AddEventHubConsumerClient<TBuilder>(TBuilder, String, String, String)

Registers a EventHubConsumerClient instance with the provided connectionString and eventHubName

AddEventHubConsumerClient<TBuilder>(TBuilder, String, String)

Registers a EventHubConsumerClientOptions instance with the provided connectionString

AddEventHubConsumerClientWithNamespace<TBuilder>(TBuilder, String, String, String)

Registers a EventHubConsumerClient instance with the provided fullyQualifiedNamespace and eventHubName

AddEventHubProducerClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Registers a EventHubProducerClient instance with connection options loaded from the provided configuration instance.

AddEventHubProducerClient<TBuilder>(TBuilder, String, String)

Registers a EventHubProducerClient instance with the provided connectionString and eventHubName

AddEventHubProducerClient<TBuilder>(TBuilder, String)

Registers a EventHubProducerClient instance with the provided connectionString

AddEventHubProducerClientWithNamespace<TBuilder>(TBuilder, String, String)

Registers a EventHubProducerClient instance with the provided fullyQualifiedNamespace and eventHubName

Applies to