PackageManager.MovePackageToVolumeAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
virtual IAsyncOperationWithProgress<DeploymentResult ^, DeploymentProgress> ^ MovePackageToVolumeAsync(Platform::String ^ packageFullName, DeploymentOptions deploymentOptions, PackageVolume ^ targetVolume) = MovePackageToVolumeAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> MovePackageToVolumeAsync(winrt::hstring const& packageFullName, DeploymentOptions const& deploymentOptions, PackageVolume const& targetVolume);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<DeploymentResult,DeploymentProgress> MovePackageToVolumeAsync(string packageFullName, DeploymentOptions deploymentOptions, PackageVolume targetVolume);
function movePackageToVolumeAsync(packageFullName, deploymentOptions, targetVolume)
Public Function MovePackageToVolumeAsync (packageFullName As String, deploymentOptions As DeploymentOptions, targetVolume As PackageVolume) As IAsyncOperationWithProgress(Of DeploymentResult, DeploymentProgress)
参数
- packageFullName
-
String
Platform::String
winrt::hstring
要移动的包的全名。
- deploymentOptions
- DeploymentOptions
指定部署选项的枚举值之一。
- targetVolume
- PackageVolume
目标卷。
返回
一个 对象,调用方可以观察该对象来跟踪调用的进度和完成情况。 对象实现 IAsyncOperationWithProgress 模式。
- 属性
Windows 要求
应用功能 |
packageManagement
|
注解
此方法允许调用方将包从一个逻辑卷移到另一个逻辑卷。