NamespaceManager.GetEventHubPartitionAsync 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
GetEventHubPartitionAsync(String, String) |
Asynchronous version of GetEventHubPartition(String, String). |
GetEventHubPartitionAsync(String, String, String) |
Asynchronous version of GetEventHubPartition(String, String). |
GetEventHubPartitionAsync(String, String)
Asynchronous version of GetEventHubPartition(String, String).
public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.PartitionDescription> GetEventHubPartitionAsync (string eventHubPath, string name);
member this.GetEventHubPartitionAsync : string * string -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.PartitionDescription>
Public Function GetEventHubPartitionAsync (eventHubPath As String, name As String) As Task(Of PartitionDescription)
Parameters
- eventHubPath
- String
The path to the Event Hub.
- name
- String
The ID of the Event Hub partition.
Returns
Returns Task<TResult>.
Applies to
GetEventHubPartitionAsync(String, String, String)
Asynchronous version of GetEventHubPartition(String, String).
public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.PartitionDescription> GetEventHubPartitionAsync (string eventHubPath, string consumerGroupName, string name);
member this.GetEventHubPartitionAsync : string * string * string -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.PartitionDescription>
Public Function GetEventHubPartitionAsync (eventHubPath As String, consumerGroupName As String, name As String) As Task(Of PartitionDescription)
Parameters
- eventHubPath
- String
The path to the Event Hub.
- consumerGroupName
- String
The name of the Event Hubs consumer group.
- name
- String
The ID of the Event Hubs partition.
Returns
Returns Task<TResult>.
Applies to
Azure SDK for .NET