Partager via


ConsumerInvitationsOperationsExtensions.GetAsync Méthode

Définition

Obtient l’invitation identifiée par invitationId

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.ConsumerInvitation> GetAsync (this Microsoft.Azure.Management.DataShare.IConsumerInvitationsOperations operations, string location, string invitationId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.DataShare.IConsumerInvitationsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.ConsumerInvitation>
<Extension()>
Public Function GetAsync (operations As IConsumerInvitationsOperations, location As String, invitationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ConsumerInvitation)

Paramètres

operations
IConsumerInvitationsOperations

Groupe d’opérations pour cette méthode d’extension.

location
String

Emplacement de l’invitation

invitationId
String

ID d’invitation

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Remarques

Obtenir une invitation

S’applique à