Freigeben über


MsixPackageResource.Update(MsixPackagePatch, CancellationToken) Methode

Definition

Aktualisieren eines MSIX-Pakets.

  • Anforderungspfad/abonnements/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}
  • Vorgangs-IdMSIXPackages_Update
public virtual Azure.Response<Azure.ResourceManager.DesktopVirtualization.MsixPackageResource> Update (Azure.ResourceManager.DesktopVirtualization.Models.MsixPackagePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.DesktopVirtualization.Models.MsixPackagePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.MsixPackageResource>
override this.Update : Azure.ResourceManager.DesktopVirtualization.Models.MsixPackagePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.MsixPackageResource>
Public Overridable Function Update (patch As MsixPackagePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MsixPackageResource)

Parameter

patch
MsixPackagePatch

Objekt, das MSIX-Paketdefinitionen enthält.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

patch ist NULL.

Gilt für: