Compartir a través de


EventHubClientBuilderExtensions.AddEventHubConsumerClientWithNamespace<TBuilder> Método

Definición

Registra una EventHubConsumerClient instancia con el proporcionado fullyQualifiedNamespace y eventHubName

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

Parámetros de tipo

TBuilder

Parámetros

builder
TBuilder
consumerGroup
String
fullyQualifiedNamespace
String
eventHubName
String

Devoluciones

Se aplica a