MockableDataShareTenantResource.RejectConsumerInvitationAsync 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.
Reject an invitation
- Request Path: /providers/Microsoft.DataShare/locations/{location}/rejectInvitation
- Operation Id: ConsumerInvitations_RejectInvitation
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.DataShareConsumerInvitationResource>> RejectConsumerInvitationAsync (Azure.Core.AzureLocation location, Azure.ResourceManager.DataShare.DataShareConsumerInvitationData data, System.Threading.CancellationToken cancellationToken = default);
abstract member RejectConsumerInvitationAsync : Azure.Core.AzureLocation * Azure.ResourceManager.DataShare.DataShareConsumerInvitationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.DataShareConsumerInvitationResource>>
override this.RejectConsumerInvitationAsync : Azure.Core.AzureLocation * Azure.ResourceManager.DataShare.DataShareConsumerInvitationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.DataShareConsumerInvitationResource>>
Public Overridable Function RejectConsumerInvitationAsync (location As AzureLocation, data As DataShareConsumerInvitationData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataShareConsumerInvitationResource))
Parameters
- location
- AzureLocation
Location of the invitation.
An invitation payload.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
data
is null.
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