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) 包装。 有关如何获取进度信息的详细信息,请参阅 异步编程

适用于