Partager via


EventHubClientBuilderExtensions.AddEventHubConsumerClient Méthode

Définition

Surcharges

AddEventHubConsumerClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Inscrit un EventHubConsumerClient instance avec des options de connexion chargées à partir du instance fourni configuration .

AddEventHubConsumerClient<TBuilder>(TBuilder, String, String)

Inscrit un EventHubConsumerClientOptions instance avec le fourniconnectionString

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

Inscrit un EventHubConsumerClient instance avec le et fourni connectionStringeventHubName

AddEventHubConsumerClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

Source:
EventHubClientBuilderExtensions.cs
Source:
EventHubClientBuilderExtensions.cs

Inscrit un EventHubConsumerClient instance avec des options de connexion chargées à partir du instance fourni configuration .

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.EventHubs.Consumer.EventHubConsumerClient,Azure.Messaging.EventHubs.Consumer.EventHubConsumerClientOptions> AddEventHubConsumerClient<TBuilder,TConfiguration> (this TBuilder builder, TConfiguration configuration) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<TConfiguration>;
static member AddEventHubConsumerClient : 'Builder * 'Configuration -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.EventHubs.Consumer.EventHubConsumerClient, Azure.Messaging.EventHubs.Consumer.EventHubConsumerClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilderWithConfiguration<'Configuration>)
<Extension()>
Public Function AddEventHubConsumerClient(Of TBuilder As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration), TConfiguration As IAzureClientFactoryBuilderWithConfiguration(Of TConfiguration)) (builder As TBuilder, configuration As TConfiguration) As IAzureClientBuilder(Of EventHubConsumerClient, EventHubConsumerClientOptions)

Paramètres de type

TBuilder
TConfiguration

Paramètres

builder
TBuilder
configuration
TConfiguration

Retours

S’applique à

AddEventHubConsumerClient<TBuilder>(TBuilder, String, String)

Source:
EventHubClientBuilderExtensions.cs
Source:
EventHubClientBuilderExtensions.cs

Inscrit un EventHubConsumerClientOptions instance avec le fourniconnectionString

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.EventHubs.Consumer.EventHubConsumerClient,Azure.Messaging.EventHubs.Consumer.EventHubConsumerClientOptions> AddEventHubConsumerClient<TBuilder> (this TBuilder builder, string consumerGroup, string connectionString) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddEventHubConsumerClient : 'Builder * string * string -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.EventHubs.Consumer.EventHubConsumerClient, Azure.Messaging.EventHubs.Consumer.EventHubConsumerClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddEventHubConsumerClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, consumerGroup As String, connectionString As String) As IAzureClientBuilder(Of EventHubConsumerClient, EventHubConsumerClientOptions)

Paramètres de type

TBuilder

Paramètres

builder
TBuilder
consumerGroup
String
connectionString
String

Retours

S’applique à

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

Source:
EventHubClientBuilderExtensions.cs
Source:
EventHubClientBuilderExtensions.cs

Inscrit un EventHubConsumerClient instance avec le et fourni connectionStringeventHubName

public static Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.EventHubs.Consumer.EventHubConsumerClient,Azure.Messaging.EventHubs.Consumer.EventHubConsumerClientOptions> AddEventHubConsumerClient<TBuilder> (this TBuilder builder, string consumerGroup, string connectionString, string eventHubName) where TBuilder : Azure.Core.Extensions.IAzureClientFactoryBuilder;
static member AddEventHubConsumerClient : 'Builder * string * string * string -> Azure.Core.Extensions.IAzureClientBuilder<Azure.Messaging.EventHubs.Consumer.EventHubConsumerClient, Azure.Messaging.EventHubs.Consumer.EventHubConsumerClientOptions> (requires 'Builder :> Azure.Core.Extensions.IAzureClientFactoryBuilder)
<Extension()>
Public Function AddEventHubConsumerClient(Of TBuilder As IAzureClientFactoryBuilder) (builder As TBuilder, consumerGroup As String, connectionString As String, eventHubName As String) As IAzureClientBuilder(Of EventHubConsumerClient, EventHubConsumerClientOptions)

Paramètres de type

TBuilder

Paramètres

builder
TBuilder
consumerGroup
String
connectionString
String
eventHubName
String

Retours

S’applique à