Udostępnij za pośrednictwem


ConsumerInvitationsOperationsExtensions.RejectInvitationAsync Method

Definition

Rejects the invitation identified by 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)

Parameters

operations
IConsumerInvitationsOperations

The operations group for this extension method.

location
String

Location of the invitation

invitation
ConsumerInvitation

An invitation payload

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Reject an invitation

Applies to