Compartilhar via


ConsumerInvitationsOperationsExtensions.RejectInvitationAsync Método

Definição

Rejeita o convite identificado por 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)

Parâmetros

operations
IConsumerInvitationsOperations

O grupo de operações para esse método de extensão.

location
String

Local do convite

invitation
ConsumerInvitation

Um conteúdo de convite

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Comentários

Rejeitar um convite

Aplica-se a