次の方法で共有


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 です。

適用対象