次の方法で共有


EventHubClientBuilderExtensions.AddEventHubConsumerClient メソッド

定義

オーバーロード

AddEventHubConsumerClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

指定configurationされたEventHubConsumerClientインスタンスから読み込まれた接続オプションを使用してインスタンスを登録します。

AddEventHubConsumerClient<TBuilder>(TBuilder, String, String)

指定された に EventHubConsumerClientOptions インスタンスを登録します。 connectionString

AddEventHubConsumerClient<TBuilder>(TBuilder, String, String, String)

指定connectionStringされた と にEventHubConsumerClientインスタンスを登録します。eventHubName

AddEventHubConsumerClient<TBuilder,TConfiguration>(TBuilder, TConfiguration)

ソース:
EventHubClientBuilderExtensions.cs
ソース:
EventHubClientBuilderExtensions.cs

指定configurationされたEventHubConsumerClientインスタンスから読み込まれた接続オプションを使用してインスタンスを登録します。

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)

型パラメーター

TBuilder
TConfiguration

パラメーター

builder
TBuilder
configuration
TConfiguration

戻り値

適用対象

AddEventHubConsumerClient<TBuilder>(TBuilder, String, String)

ソース:
EventHubClientBuilderExtensions.cs
ソース:
EventHubClientBuilderExtensions.cs

指定された に EventHubConsumerClientOptions インスタンスを登録します。 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)

型パラメーター

TBuilder

パラメーター

builder
TBuilder
consumerGroup
String
connectionString
String

戻り値

適用対象

AddEventHubConsumerClient<TBuilder>(TBuilder, String, String, String)

ソース:
EventHubClientBuilderExtensions.cs
ソース:
EventHubClientBuilderExtensions.cs

指定connectionStringされた と にEventHubConsumerClientインスタンスを登録します。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)

型パラメーター

TBuilder

パラメーター

builder
TBuilder
consumerGroup
String
connectionString
String
eventHubName
String

戻り値

適用対象