共用方式為


InstallationManager.GetPendingPackageInstalls 方法

定義

傳回目前正在進行的所有應用程式安裝。

public:
 static IIterable<IAsyncOperationWithProgress<PackageInstallResult ^, unsigned int> ^> ^ GetPendingPackageInstalls();
 static IIterable<IAsyncOperationWithProgress<PackageInstallResult, uint32_t>> GetPendingPackageInstalls();
public static IEnumerable<IAsyncOperationWithProgress<PackageInstallResult,uint>> GetPendingPackageInstalls();
function getPendingPackageInstalls()
Public Shared Function GetPendingPackageInstalls () As IEnumerable(Of IAsyncOperationWithProgress(Of PackageInstallResult, UInteger))

傳回

IIterable<IAsyncOperationWithProgress<PackageInstallResult,UInt32>>

IEnumerable<IAsyncOperationWithProgress<PackageInstallResult,UInt32>>

Windows.Foundation.Collections.IIterable<Windows.Foundation.IAsyncOperationWithProgress<Windows.Phone.Management.Deployment.PackageInstallResult,unsigned int>>

IIterable<IAsyncOperationWithProgress<PackageInstallResult,uint32_t>>

目前進行中的應用程式安裝清單。 此清單包含每個安裝的 PackageInstallResult (擱置) ,這些安裝會由非同步作業類別包裝, (IAsyncOperationWithProgress) 。 如需如何取得進度資訊的詳細資訊,請參閱 非同步程式 設計。

適用於