EventHubClientBuilderExtensions.AddEventHubConsumerClient Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
AddEventHubConsumerClient<TBuilder,TConfiguration>(TBuilder, TConfiguration) |
Registra uma EventHubConsumerClient instância com opções de conexão carregadas da instância fornecida |
AddEventHubConsumerClient<TBuilder>(TBuilder, String, String) |
Registra uma EventHubConsumerClientOptions instância com o fornecido |
AddEventHubConsumerClient<TBuilder>(TBuilder, String, String, String) |
Registra uma EventHubConsumerClient instância com o fornecido |
AddEventHubConsumerClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)
Registra uma EventHubConsumerClient instância com opções de conexão carregadas da instância fornecida 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
Retornos
Aplica-se a
AddEventHubConsumerClient<TBuilder>(TBuilder, String, String)
Registra uma EventHubConsumerClientOptions instância com o fornecido 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
Retornos
Aplica-se a
AddEventHubConsumerClient<TBuilder>(TBuilder, String, String, String)
Registra uma EventHubConsumerClient instância com o fornecido connectionString
e 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
Retornos
Aplica-se a
Azure SDK for .NET