Freigeben über


EventHubClientBuilderExtensions.AddEventHubProducerClientWithNamespace<TBuilder> Methode

Definition

Registriert eine EventHubProducerClient instance bei der bereitgestellten fullyQualifiedNamespace undeventHubName

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

Typparameter

TBuilder

Parameter

builder
TBuilder
fullyQualifiedNamespace
String
eventHubName
String

Gibt zurück

Gilt für: