EventHubClientBuilderExtensions.AddEventHubConsumerClient Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
AddEventHubConsumerClient<TBuilder,TConfiguration>(TBuilder, TConfiguration) |
Registra una EventHubConsumerClient instancia con las opciones de conexión cargadas desde la instancia proporcionada |
AddEventHubConsumerClient<TBuilder>(TBuilder, String, String) |
Registra una EventHubConsumerClientOptions instancia con el proporcionado. |
AddEventHubConsumerClient<TBuilder>(TBuilder, String, String, String) |
Registra una EventHubConsumerClient instancia con el proporcionado |
AddEventHubConsumerClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)
Registra una EventHubConsumerClient instancia con las opciones de conexión cargadas desde la instancia proporcionada 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)
Parámetros de tipo
- TBuilder
- TConfiguration
Parámetros
- builder
- TBuilder
- configuration
- TConfiguration
Devoluciones
Se aplica a
AddEventHubConsumerClient<TBuilder>(TBuilder, String, String)
Registra una EventHubConsumerClientOptions instancia con el proporcionado. connectionString
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)
Parámetros de tipo
- TBuilder
Parámetros
- builder
- TBuilder
- consumerGroup
- String
- connectionString
- String
Devoluciones
Se aplica a
AddEventHubConsumerClient<TBuilder>(TBuilder, String, String, String)
Registra una EventHubConsumerClient instancia con el proporcionado connectionString
y eventHubName
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)
Parámetros de tipo
- TBuilder
Parámetros
- builder
- TBuilder
- consumerGroup
- String
- connectionString
- String
- eventHubName
- String
Devoluciones
Se aplica a
Azure SDK for .NET