Udostępnij za pośrednictwem


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);
member this.CreateConsumerGroup : string * string -> Microsoft.ServiceBus.Messaging.ConsumerGroupDescription
Public Function CreateConsumerGroup (eventHubPath As String, name As String) As ConsumerGroupDescription

Parameters

eventHubPath
String

The path to the Event Hub.

name
String

The name of the consumer group.

Returns

Returns ConsumerGroupDescription.

Applies to

CreateConsumerGroup(ConsumerGroupDescription)

Creates an Event Hubs consumer group using the specified ConsumerGroupDescription.

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

Parameters

Returns

Returns ConsumerGroupDescription.

Applies to