Partager via


ConsumerInvitationsOperationsExtensions.RejectInvitationAsync Méthode

Définition

Rejette l’invitation identifiée par invitationId

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.ConsumerInvitation> RejectInvitationAsync (this Microsoft.Azure.Management.DataShare.IConsumerInvitationsOperations operations, string location, Microsoft.Azure.Management.DataShare.Models.ConsumerInvitation invitation, System.Threading.CancellationToken cancellationToken = default);
static member RejectInvitationAsync : Microsoft.Azure.Management.DataShare.IConsumerInvitationsOperations * string * Microsoft.Azure.Management.DataShare.Models.ConsumerInvitation * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.ConsumerInvitation>
<Extension()>
Public Function RejectInvitationAsync (operations As IConsumerInvitationsOperations, location As String, invitation As ConsumerInvitation, 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

invitation
ConsumerInvitation

Charge utile d’invitation

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Remarques

Rejeter une invitation

S’applique à