ConsumerInvitationsOperationsExtensions.RejectInvitationAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET