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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應