EventHubsOperationsExtensions.GetAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient une description d’Event Hubs pour le hub d’événements spécifié.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventHub.Models.Eventhub> GetAsync (this Microsoft.Azure.Management.EventHub.IEventHubsOperations operations, string resourceGroupName, string namespaceName, string eventHubName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.EventHub.IEventHubsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventHub.Models.Eventhub>
<Extension()>
Public Function GetAsync (operations As IEventHubsOperations, resourceGroupName As String, namespaceName As String, eventHubName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Eventhub)
Paramètres
- operations
- IEventHubsOperations
Groupe d’opérations pour cette méthode d’extension.
- resourceGroupName
- String
Nom du groupe de ressources dans l’abonnement Azure.
- namespaceName
- String
Nom de l’espace de noms
- eventHubName
- String
Nom du hub d’événements
- cancellationToken
- CancellationToken
Jeton d'annulation.
Retours
S’applique à
Azure SDK for .NET
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour