Partilhar via


MsixPackageResource.UpdateAsync(MsixPackagePatch, CancellationToken) Método

Definição

Atualizar um pacote MSIX.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}
  • Operação IdMSIXPackages_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.MsixPackageResource>> UpdateAsync (Azure.ResourceManager.DesktopVirtualization.Models.MsixPackagePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.DesktopVirtualization.Models.MsixPackagePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.MsixPackageResource>>
override this.UpdateAsync : Azure.ResourceManager.DesktopVirtualization.Models.MsixPackagePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DesktopVirtualization.MsixPackageResource>>
Public Overridable Function UpdateAsync (patch As MsixPackagePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MsixPackageResource))

Parâmetros

patch
MsixPackagePatch

Objeto que contém definições de pacote MSIX.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a