Udostępnij za pośrednictwem


NamespaceManager.GetEventHubPartitionAsync Method

Definition

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