StartupTask.GetForCurrentPackageAsync 方法

定义

获取当前应用包的所有启动任务。

public:
 static IAsyncOperation<IVectorView<StartupTask ^> ^> ^ GetForCurrentPackageAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<IVectorView<StartupTask>> GetForCurrentPackageAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<StartupTask>> GetForCurrentPackageAsync();
function getForCurrentPackageAsync()
Public Shared Function GetForCurrentPackageAsync () As IAsyncOperation(Of IReadOnlyList(Of StartupTask))

返回

此方法完成后,它将返回当前应用包的所有启动任务。

属性

适用于