NamespaceManager.CreateConsumerGroup Method

Definition

Overloads

CreateConsumerGroup(String, String)

Creates an Event Hubs consumer group using default values, with the specified Event Hubs path and a name for the consumer group.

CreateConsumerGroup(ConsumerGroupDescription)

Creates an Event Hubs consumer group using the specified ConsumerGroupDescription.

CreateConsumerGroup(String, String)

Creates an Event Hubs consumer group using default values, with the specified Event Hubs path and a name for the consumer group.

public Microsoft.ServiceBus.Messaging.ConsumerGroupDescription CreateConsumerGroup (string eventHubPath, string name);
Parameters
eventHubPath
String

The path to the Event Hub.

name
String

The name of the consumer group.

Returns

CreateConsumerGroup(ConsumerGroupDescription)

Creates an Event Hubs consumer group using the specified ConsumerGroupDescription.

public Microsoft.ServiceBus.Messaging.ConsumerGroupDescription CreateConsumerGroup (Microsoft.ServiceBus.Messaging.ConsumerGroupDescription description);
Parameters
Returns

Applies to