Freigeben über


DataShareExtensions.RejectConsumerInvitationAsync Methode

Definition

Ablehnen einer Einladung

  • Anforderungspfad/providers/Microsoft.DataShare/locations/{location}/rejectInvitation
  • Vorgangs-IdConsumerInvitations_RejectInvitation
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.DataShareConsumerInvitationResource>> RejectConsumerInvitationAsync (this Azure.ResourceManager.Resources.TenantResource tenantResource, Azure.Core.AzureLocation location, Azure.ResourceManager.DataShare.DataShareConsumerInvitationData data, System.Threading.CancellationToken cancellationToken = default);
static member RejectConsumerInvitationAsync : Azure.ResourceManager.Resources.TenantResource * Azure.Core.AzureLocation * Azure.ResourceManager.DataShare.DataShareConsumerInvitationData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.DataShareConsumerInvitationResource>>
<Extension()>
Public Function RejectConsumerInvitationAsync (tenantResource As TenantResource, location As AzureLocation, data As DataShareConsumerInvitationData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataShareConsumerInvitationResource))

Parameter

tenantResource
TenantResource

Der TenantResource instance die -Methode ausgeführt wird.

location
AzureLocation

Speicherort der Einladung.

data
DataShareConsumerInvitationData

Eine Einladungsnutzlast.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

data ist NULL.

Gilt für: