NamespaceManager.CreateConsumerGroup Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- description
- ConsumerGroupDescription
Returns
Returns ConsumerGroupDescription.
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per