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
|
備註
這個方法可讓呼叫端將封裝從一個邏輯磁片區移至另一個磁片區。