NamespaceManager.CreateConsumerGroupIfNotExists メソッド

定義

オーバーロード

CreateConsumerGroupIfNotExists(ConsumerGroupDescription)

指定した をメタデータとして使用して、コンシューマー グループがまだ存在しない場合は作成します ConsumerGroupDescription 。 グループが既に存在する場合は、格納されている ConsumerGroupDescriptionを返します。

CreateConsumerGroupIfNotExists(String, String)

指定した Event Hubs パスとグループ名を使用して、コンシューマー グループがまだ存在しない場合は作成します。 グループが既に存在する場合は、格納されている ConsumerGroupDescriptionを返します。

CreateConsumerGroupIfNotExists(ConsumerGroupDescription)

指定した をメタデータとして使用して、コンシューマー グループがまだ存在しない場合は作成します ConsumerGroupDescription 。 グループが既に存在する場合は、格納されている ConsumerGroupDescriptionを返します。

public Microsoft.ServiceBus.Messaging.ConsumerGroupDescription CreateConsumerGroupIfNotExists (Microsoft.ServiceBus.Messaging.ConsumerGroupDescription description);
member this.CreateConsumerGroupIfNotExists : Microsoft.ServiceBus.Messaging.ConsumerGroupDescription -> Microsoft.ServiceBus.Messaging.ConsumerGroupDescription
Public Function CreateConsumerGroupIfNotExists (description As ConsumerGroupDescription) As ConsumerGroupDescription

パラメーター

description
ConsumerGroupDescription

ConsumerGroupDescription オブジェクト。

戻り値

新しく作成 ConsumerGroupDescriptionされた を返します。 コンシューマー グループが既に存在する場合は、既存 ConsumerGroupDescriptionの を返します。

適用対象

CreateConsumerGroupIfNotExists(String, String)

指定した Event Hubs パスとグループ名を使用して、コンシューマー グループがまだ存在しない場合は作成します。 グループが既に存在する場合は、格納されている ConsumerGroupDescriptionを返します。

public Microsoft.ServiceBus.Messaging.ConsumerGroupDescription CreateConsumerGroupIfNotExists (string eventHubPath, string name);
member this.CreateConsumerGroupIfNotExists : string * string -> Microsoft.ServiceBus.Messaging.ConsumerGroupDescription
Public Function CreateConsumerGroupIfNotExists (eventHubPath As String, name As String) As ConsumerGroupDescription

パラメーター

eventHubPath
String

イベント ハブへのパス。

name
String

作成するコンシューマー グループの名前。

戻り値

新しく作成 ConsumerGroupDescriptionされた を返します。 コンシューマー グループが既に存在する場合は、既存 ConsumerGroupDescriptionの を返します。

適用対象