EventProcessorHost コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
EventProcessorHost(String, String, String, String) |
EventProcessorHost の新しいインスタンスを作成します。 |
EventProcessorHost(String, String, String, Func<EventProcessorOptions,MessagingFactory>, Func<CloudBlobClient>) |
EventProcessorHost の新しいインスタンスを作成します。 |
EventProcessorHost(String, String, String, String, String) |
EventProcessorHost クラスの新しいインスタンスを初期化します。 |
EventProcessorHost(String, String, String, Func<EventProcessorOptions,MessagingFactory>, Func<CloudBlobClient>, String, String) |
EventProcessorHost の新しいインスタンスを作成します。 |
EventProcessorHost(String, String, String, String, String, String, String) |
EventProcessorHost クラスの新しいインスタンスを初期化します。 |
EventProcessorHost(String, String, String, String)
EventProcessorHost の新しいインスタンスを作成します。
public EventProcessorHost (string eventHubPath, string consumerGroupName, string eventHubConnectionString, string storageConnectionString);
new Microsoft.ServiceBus.Messaging.EventProcessorHost : string * string * string * string -> Microsoft.ServiceBus.Messaging.EventProcessorHost
Public Sub New (eventHubPath As String, consumerGroupName As String, eventHubConnectionString As String, storageConnectionString As String)
パラメーター
- eventHubPath
- String
メッセージの受信を開始するイベント ハブ パス。
- consumerGroupName
- String
メッセージの受信を開始する Event Hub コンシューマー グループの名前。
- eventHubConnectionString
- String
Event Hub の接続文字列。
- storageConnectionString
- String
パーティション分散に使用する Azure Blob Storage アカウントの接続文字列。
適用対象
EventProcessorHost(String, String, String, Func<EventProcessorOptions,MessagingFactory>, Func<CloudBlobClient>)
EventProcessorHost の新しいインスタンスを作成します。
public EventProcessorHost (string hostName, string eventHubPath, string consumerGroupName, Func<Microsoft.ServiceBus.Messaging.EventProcessorOptions,Microsoft.ServiceBus.Messaging.MessagingFactory> eventHubClientFactory, Func<Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient> storageClientFactory);
new Microsoft.ServiceBus.Messaging.EventProcessorHost : string * string * string * Func<Microsoft.ServiceBus.Messaging.EventProcessorOptions, Microsoft.ServiceBus.Messaging.MessagingFactory> * Func<Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient> -> Microsoft.ServiceBus.Messaging.EventProcessorHost
Public Sub New (hostName As String, eventHubPath As String, consumerGroupName As String, eventHubClientFactory As Func(Of EventProcessorOptions, MessagingFactory), storageClientFactory As Func(Of CloudBlobClient))
パラメーター
- hostName
- String
EventProcessorHost インスタンスの名前。 これは、ホストのインスタンスごとに一意である必要があります。
- eventHubPath
- String
メッセージの受信を開始する EventHub パス。
- consumerGroupName
- String
メッセージの受信を開始する EventHub コンシューマー グループの名前。
- eventHubClientFactory
- Func<EventProcessorOptions,MessagingFactory>
を作成し、最終的には EventHubReceiverを作成するために EventProcessorHost によって使用されるように初期化MessagingFactoryするEventHubClientファクトリ。 EventProcessorHost は、これらの MessagingFactory オブジェクトのプールを維持し、オプションに基づいて新しいインスタンスを作成する必要がある場合は常に、提供されたファクトリを MaxReceiveClients 使用します。
- storageClientFactory
- Func<CloudBlobClient>
使用可能なホスト間でのリース管理とパーティション分散のために EventProcessorHost によって使用される初期化 Microsoft.ServiceBus.Messaging.EventProcessorHost.CloudBlobClient するファクトリ。
適用対象
EventProcessorHost(String, String, String, String, String)
EventProcessorHost クラスの新しいインスタンスを初期化します。
public EventProcessorHost (string hostName, string eventHubPath, string consumerGroupName, string eventHubConnectionString, string storageConnectionString);
new Microsoft.ServiceBus.Messaging.EventProcessorHost : string * string * string * string * string -> Microsoft.ServiceBus.Messaging.EventProcessorHost
Public Sub New (hostName As String, eventHubPath As String, consumerGroupName As String, eventHubConnectionString As String, storageConnectionString As String)
パラメーター
- hostName
- String
EventProcessorHost インスタンスの名前。 この名前は、ホストのインスタンスごとに一意である必要があります。
- eventHubPath
- String
イベント データの受信を開始するイベント ハブへのパス。
- consumerGroupName
- String
イベント データの受信を開始する Event Hubs コンシューマー グループの名前。
- eventHubConnectionString
- String
イベント ハブの接続文字列。
- storageConnectionString
- String
パーティション分散に使用する Azure Blob ストレージ アカウントの接続文字列。
適用対象
EventProcessorHost(String, String, String, Func<EventProcessorOptions,MessagingFactory>, Func<CloudBlobClient>, String, String)
EventProcessorHost の新しいインスタンスを作成します。
public EventProcessorHost (string hostName, string eventHubPath, string consumerGroupName, Func<Microsoft.ServiceBus.Messaging.EventProcessorOptions,Microsoft.ServiceBus.Messaging.MessagingFactory> eventHubClientFactory, Func<Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient> storageClientFactory, string leaseContainerName, string leaseBlobPrefix = default);
new Microsoft.ServiceBus.Messaging.EventProcessorHost : string * string * string * Func<Microsoft.ServiceBus.Messaging.EventProcessorOptions, Microsoft.ServiceBus.Messaging.MessagingFactory> * Func<Microsoft.WindowsAzure.Storage.Blob.CloudBlobClient> * string * string -> Microsoft.ServiceBus.Messaging.EventProcessorHost
Public Sub New (hostName As String, eventHubPath As String, consumerGroupName As String, eventHubClientFactory As Func(Of EventProcessorOptions, MessagingFactory), storageClientFactory As Func(Of CloudBlobClient), leaseContainerName As String, Optional leaseBlobPrefix As String = Nothing)
パラメーター
- hostName
- String
EventProcessorHost インスタンスの名前。 これは、ホストのインスタンスごとに一意である必要があります。
- eventHubPath
- String
メッセージの受信を開始する EventHub パス。
- consumerGroupName
- String
メッセージの受信を開始する EventHub コンシューマー グループの名前。
- eventHubClientFactory
- Func<EventProcessorOptions,MessagingFactory>
を作成し、最終的には EventHubReceiverを作成するために EventProcessorHost によって使用されるように初期化MessagingFactoryするEventHubClientファクトリ。 EventProcessorHost は、これらの MessagingFactory オブジェクトのプールを維持し、オプションに基づいて新しいインスタンスを作成する必要がある場合は常に、提供されたファクトリを MaxReceiveClients 使用します。
- storageClientFactory
- Func<CloudBlobClient>
使用可能なホスト間でのリース管理とパーティション分散のために EventProcessorHost によって使用される初期化 Microsoft.ServiceBus.Messaging.EventProcessorHost.CloudBlobClient するファクトリ。
- leaseContainerName
- String
すべてのリース BLOB が作成される Azure BLOB コンテナーの名前。 これが渡されない場合は、EventHub パスが Azure Blob コンテナーの名前として使用されます。
- leaseBlobPrefix
- String
リース BLOB ファイルのプレフィックス。
適用対象
EventProcessorHost(String, String, String, String, String, String, String)
EventProcessorHost クラスの新しいインスタンスを初期化します。
public EventProcessorHost (string hostName, string eventHubPath, string consumerGroupName, string eventHubConnectionString, string storageConnectionString, string leaseContainerName, string leaseBlobPrefix = default);
new Microsoft.ServiceBus.Messaging.EventProcessorHost : string * string * string * string * string * string * string -> Microsoft.ServiceBus.Messaging.EventProcessorHost
Public Sub New (hostName As String, eventHubPath As String, consumerGroupName As String, eventHubConnectionString As String, storageConnectionString As String, leaseContainerName As String, Optional leaseBlobPrefix As String = Nothing)
パラメーター
- hostName
- String
EventProcessorHost インスタンスの名前。 この名前は、ホストのインスタンスごとに一意である必要があります。
- eventHubPath
- String
イベント データの受信を開始するイベント ハブへのパス。
- consumerGroupName
- String
イベント データの受信を開始する Event Hubs コンシューマー グループの名前。
- eventHubConnectionString
- String
イベント ハブの接続文字列。
- storageConnectionString
- String
パーティション分散に使用する Azure Blob ストレージ アカウントの接続文字列。
- leaseContainerName
- String
すべてのリース BLOB が作成される Azure BLOB コンテナーの名前。 このパラメーターが指定されていない場合は、Azure Blob コンテナーの名前として Event Hubs パスが使用されます。
- leaseBlobPrefix
- String
リース BLOB ファイルのプレフィックス。
適用対象
Azure SDK for .NET