EventHubClientBuilderExtensions.AddEventHubProducerClientWithNamespace<TBuilder> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers a EventHubProducerClient instance with the provided fullyQualifiedNamespace
and eventHubName
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)
Type Parameters
- TBuilder
Parameters
- builder
- TBuilder
- fullyQualifiedNamespace
- String
- eventHubName
- String
Returns
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.