EventProcessor<TPartition> コンストラクター

定義

オーバーロード

EventProcessor<TPartition>()

EventProcessor<TPartition> クラスの新しいインスタンスを初期化します。

EventProcessor<TPartition>(Int32, String, String, EventProcessorOptions)

EventProcessor<TPartition> クラスの新しいインスタンスを初期化します。

EventProcessor<TPartition>(Int32, String, String, String, EventProcessorOptions)

EventProcessor<TPartition> クラスの新しいインスタンスを初期化します。

EventProcessor<TPartition>(Int32, String, String, String, AzureNamedKeyCredential, EventProcessorOptions)

EventProcessor<TPartition> クラスの新しいインスタンスを初期化します。

EventProcessor<TPartition>(Int32, String, String, String, AzureSasCredential, EventProcessorOptions)

EventProcessor<TPartition> クラスの新しいインスタンスを初期化します。

EventProcessor<TPartition>(Int32, String, String, String, TokenCredential, EventProcessorOptions)

EventProcessor<TPartition> クラスの新しいインスタンスを初期化します。

EventProcessor<TPartition>()

ソース:
EventProcessor.cs
ソース:
EventProcessor.cs

EventProcessor<TPartition> クラスの新しいインスタンスを初期化します。

protected EventProcessor ();
Protected Sub New ()

適用対象

EventProcessor<TPartition>(Int32, String, String, EventProcessorOptions)

ソース:
EventProcessor.cs
ソース:
EventProcessor.cs

EventProcessor<TPartition> クラスの新しいインスタンスを初期化します。

protected EventProcessor (int eventBatchMaximumCount, string consumerGroup, string connectionString, Azure.Messaging.EventHubs.Primitives.EventProcessorOptions options = default);
new Azure.Messaging.EventHubs.Primitives.EventProcessor<'Partition (requires 'Partition :> Azure.Messaging.EventHubs.Primitives.EventProcessorPartition and 'Partition : (new : unit -> 'Partition))> : int * string * string * Azure.Messaging.EventHubs.Primitives.EventProcessorOptions -> Azure.Messaging.EventHubs.Primitives.EventProcessor<'Partition (requires 'Partition :> Azure.Messaging.EventHubs.Primitives.EventProcessorPartition and 'Partition : (new : unit -> 'Partition))>
Protected Sub New (eventBatchMaximumCount As Integer, consumerGroup As String, connectionString As String, Optional options As EventProcessorOptions = Nothing)

パラメーター

eventBatchMaximumCount
Int32

処理するバッチに含めるイベントの必要な数。 このサイズは、バッチ内の最大カウントです。イベント ハブでイベントを使用できるかどうかに応じて、実際の数が小さくなる場合があります。

consumerGroup
String

このプロセッサが関連付けられているコンシューマー グループの名前。 プロセッサは、このグループのパーティションに対する排他的読み取りアクセス権をアサートします。

connectionString
String

Event Hubs 名前空間への接続に使用する接続文字列。この接続文字列には、イベント ハブ名と共有キー プロパティが含まれている必要があります。

options
EventProcessorOptions

プロセッサに使用するオプションのセット。

例外

要求された が 1 未満の場合に eventBatchMaximumCount 発生します。

注釈

接続文字列が Event Hubs 名前空間からコピーされる場合、必要な目的のイベント ハブの名前が含まれていない可能性があります。 この場合、"; を追加することで、名前を手動で追加できます。接続文字列の末尾に EntityPath=[[ EVENT HUB NAME ]]" を指定します。 たとえば、";EntityPath=telemetry-hub"

共有アクセス ポリシーを Event Hub 自体に直接定義した場合、そのイベント ハブから接続文字列をコピーすると、名前を含む接続文字列が生成されます。

適用対象

EventProcessor<TPartition>(Int32, String, String, String, EventProcessorOptions)

ソース:
EventProcessor.cs
ソース:
EventProcessor.cs

EventProcessor<TPartition> クラスの新しいインスタンスを初期化します。

protected EventProcessor (int eventBatchMaximumCount, string consumerGroup, string connectionString, string eventHubName, Azure.Messaging.EventHubs.Primitives.EventProcessorOptions options = default);
new Azure.Messaging.EventHubs.Primitives.EventProcessor<'Partition (requires 'Partition :> Azure.Messaging.EventHubs.Primitives.EventProcessorPartition and 'Partition : (new : unit -> 'Partition))> : int * string * string * string * Azure.Messaging.EventHubs.Primitives.EventProcessorOptions -> Azure.Messaging.EventHubs.Primitives.EventProcessor<'Partition (requires 'Partition :> Azure.Messaging.EventHubs.Primitives.EventProcessorPartition and 'Partition : (new : unit -> 'Partition))>
Protected Sub New (eventBatchMaximumCount As Integer, consumerGroup As String, connectionString As String, eventHubName As String, Optional options As EventProcessorOptions = Nothing)

パラメーター

eventBatchMaximumCount
Int32

処理するバッチに含めるイベントの必要な数。 このサイズは、バッチ内の最大カウントです。イベント ハブでイベントを使用できるかどうかに応じて、実際の数が小さくなる場合があります。

consumerGroup
String

このプロセッサが関連付けられているコンシューマー グループの名前。 プロセッサは、このグループのパーティションに対する排他的読み取りアクセス権をアサートします。

connectionString
String

Event Hubs 名前空間への接続に使用する接続文字列。共有キーのプロパティがこの接続文字列に含まれているが、イベント ハブ名には含まれていないことが予想されます。

eventHubName
String

プロセッサを関連付ける特定のイベント ハブの名前。

options
EventProcessorOptions

プロセッサに使用するオプションのセット。

例外

要求された が 1 未満の場合に eventBatchMaximumCount 発生します。

注釈

接続文字列が Event Hub 自体からコピーされる場合は、目的のイベント ハブの名前が含まれており、 を渡 eventHubNameさずに直接使用できます。 Event Hub の名前は、接続文字列の一部として、または個別に 1 回だけ渡す必要があります。

適用対象

EventProcessor<TPartition>(Int32, String, String, String, AzureNamedKeyCredential, EventProcessorOptions)

ソース:
EventProcessor.cs
ソース:
EventProcessor.cs

EventProcessor<TPartition> クラスの新しいインスタンスを初期化します。

protected EventProcessor (int eventBatchMaximumCount, string consumerGroup, string fullyQualifiedNamespace, string eventHubName, Azure.AzureNamedKeyCredential credential, Azure.Messaging.EventHubs.Primitives.EventProcessorOptions options = default);
new Azure.Messaging.EventHubs.Primitives.EventProcessor<'Partition (requires 'Partition :> Azure.Messaging.EventHubs.Primitives.EventProcessorPartition and 'Partition : (new : unit -> 'Partition))> : int * string * string * string * Azure.AzureNamedKeyCredential * Azure.Messaging.EventHubs.Primitives.EventProcessorOptions -> Azure.Messaging.EventHubs.Primitives.EventProcessor<'Partition (requires 'Partition :> Azure.Messaging.EventHubs.Primitives.EventProcessorPartition and 'Partition : (new : unit -> 'Partition))>
Protected Sub New (eventBatchMaximumCount As Integer, consumerGroup As String, fullyQualifiedNamespace As String, eventHubName As String, credential As AzureNamedKeyCredential, Optional options As EventProcessorOptions = Nothing)

パラメーター

eventBatchMaximumCount
Int32

処理するバッチに含めるイベントの必要な数。 このサイズは、バッチ内の最大カウントです。イベント ハブでイベントを使用できるかどうかに応じて、実際の数が小さくなる場合があります。

consumerGroup
String

このプロセッサが関連付けられているコンシューマー グループの名前。 プロセッサは、このグループのパーティションに対する排他的読み取りアクセス権をアサートします。

fullyQualifiedNamespace
String

接続する完全修飾 Event Hubs 名前空間。 これは、 と似ている {yournamespace}.servicebus.windows.net可能性があります。

eventHubName
String

プロセッサを関連付ける特定のイベント ハブの名前。

credential
AzureNamedKeyCredential

承認に使用する共有アクセス キーの資格情報。 アクセス制御は、Azure の構成に応じて、Event Hubs 名前空間または要求されたイベント ハブによって指定できます。

options
EventProcessorOptions

プロセッサに使用するオプションのセット。

例外

要求された が 1 未満の場合に eventBatchMaximumCount 発生します。

適用対象

EventProcessor<TPartition>(Int32, String, String, String, AzureSasCredential, EventProcessorOptions)

ソース:
EventProcessor.cs
ソース:
EventProcessor.cs

EventProcessor<TPartition> クラスの新しいインスタンスを初期化します。

protected EventProcessor (int eventBatchMaximumCount, string consumerGroup, string fullyQualifiedNamespace, string eventHubName, Azure.AzureSasCredential credential, Azure.Messaging.EventHubs.Primitives.EventProcessorOptions options = default);
new Azure.Messaging.EventHubs.Primitives.EventProcessor<'Partition (requires 'Partition :> Azure.Messaging.EventHubs.Primitives.EventProcessorPartition and 'Partition : (new : unit -> 'Partition))> : int * string * string * string * Azure.AzureSasCredential * Azure.Messaging.EventHubs.Primitives.EventProcessorOptions -> Azure.Messaging.EventHubs.Primitives.EventProcessor<'Partition (requires 'Partition :> Azure.Messaging.EventHubs.Primitives.EventProcessorPartition and 'Partition : (new : unit -> 'Partition))>
Protected Sub New (eventBatchMaximumCount As Integer, consumerGroup As String, fullyQualifiedNamespace As String, eventHubName As String, credential As AzureSasCredential, Optional options As EventProcessorOptions = Nothing)

パラメーター

eventBatchMaximumCount
Int32

処理するバッチに含めるイベントの必要な数。 このサイズは、バッチ内の最大カウントです。イベント ハブでイベントを使用できるかどうかに応じて、実際の数が小さくなる場合があります。

consumerGroup
String

このプロセッサが関連付けられているコンシューマー グループの名前。 プロセッサは、このグループのパーティションに対する排他的読み取りアクセス権をアサートします。

fullyQualifiedNamespace
String

接続する完全修飾 Event Hubs 名前空間。 これは、 と似ている {yournamespace}.servicebus.windows.net可能性があります。

eventHubName
String

プロセッサを関連付ける特定のイベント ハブの名前。

credential
AzureSasCredential

承認に使用する共有署名資格情報。 アクセス制御は、Azure の構成に応じて、Event Hubs 名前空間または要求されたイベント ハブによって指定できます。

options
EventProcessorOptions

プロセッサに使用するオプションのセット。

例外

要求された が 1 未満の場合に eventBatchMaximumCount 発生します。

適用対象

EventProcessor<TPartition>(Int32, String, String, String, TokenCredential, EventProcessorOptions)

ソース:
EventProcessor.cs
ソース:
EventProcessor.cs

EventProcessor<TPartition> クラスの新しいインスタンスを初期化します。

protected EventProcessor (int eventBatchMaximumCount, string consumerGroup, string fullyQualifiedNamespace, string eventHubName, Azure.Core.TokenCredential credential, Azure.Messaging.EventHubs.Primitives.EventProcessorOptions options = default);
new Azure.Messaging.EventHubs.Primitives.EventProcessor<'Partition (requires 'Partition :> Azure.Messaging.EventHubs.Primitives.EventProcessorPartition and 'Partition : (new : unit -> 'Partition))> : int * string * string * string * Azure.Core.TokenCredential * Azure.Messaging.EventHubs.Primitives.EventProcessorOptions -> Azure.Messaging.EventHubs.Primitives.EventProcessor<'Partition (requires 'Partition :> Azure.Messaging.EventHubs.Primitives.EventProcessorPartition and 'Partition : (new : unit -> 'Partition))>
Protected Sub New (eventBatchMaximumCount As Integer, consumerGroup As String, fullyQualifiedNamespace As String, eventHubName As String, credential As TokenCredential, Optional options As EventProcessorOptions = Nothing)

パラメーター

eventBatchMaximumCount
Int32

処理するバッチに含めるイベントの必要な数。 このサイズは、バッチ内の最大カウントです。イベント ハブでイベントを使用できるかどうかに応じて、実際の数が小さくなる場合があります。

consumerGroup
String

このプロセッサが関連付けられているコンシューマー グループの名前。 プロセッサは、このグループのパーティションに対する排他的読み取りアクセス権をアサートします。

fullyQualifiedNamespace
String

接続する完全修飾 Event Hubs 名前空間。 これは、 と似ている {yournamespace}.servicebus.windows.net可能性があります。

eventHubName
String

プロセッサを関連付ける特定のイベント ハブの名前。

credential
TokenCredential

承認に使用する Azure マネージド ID 資格情報。 アクセス制御は、Azure の構成に応じて、Event Hubs 名前空間または要求されたイベント ハブによって指定できます。

options
EventProcessorOptions

プロセッサに使用するオプションのセット。

例外

要求された が 1 未満の場合に eventBatchMaximumCount 発生します。

適用対象