MsixPackageResource.Update(MsixPackagePatch, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Update an MSIX Package.
- Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/hostPools/{hostPoolName}/msixPackages/{msixPackageFullName}
- Operation Id: MSIXPackages_Update
- Default Api Version: 2024-04-03
- Resource: MsixPackageResource
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)
Parameters
- patch
- MsixPackagePatch
Object containing MSIX Package definitions.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
patch
is null.