Partager via


NamespaceManager.GetEventHubPartitionAsync Méthode

Définition

Surcharges

GetEventHubPartitionAsync(String, String)

Version asynchrone de GetEventHubPartition(String, String).

GetEventHubPartitionAsync(String, String, String)

Version asynchrone de GetEventHubPartition(String, String).

GetEventHubPartitionAsync(String, String)

Version asynchrone de 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)

Paramètres

eventHubPath
String

Chemin d’accès au hub d’événements.

name
String

ID de la partition Event Hub.

Retours

Retourne Task<TResult>.

S’applique à

GetEventHubPartitionAsync(String, String, String)

Version asynchrone de 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)

Paramètres

eventHubPath
String

Chemin d’accès au hub d’événements.

consumerGroupName
String

Nom du groupe de consommateurs Event Hubs.

name
String

ID de la partition Event Hubs.

Retours

Retourne Task<TResult>.

S’applique à