你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DataShareExtensions.RejectConsumerInvitationAsync 方法

定义

拒绝邀请

  • 请求路径/提供程序/Microsoft.DataShare/locations/{location}/rejectInvitation
  • 操作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))

参数

tenantResource
TenantResource

方法 TenantResource 将对其执行的实例。

location
AzureLocation

邀请的位置。

data
DataShareConsumerInvitationData

邀请有效负载。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

data 为 null。

适用于