Udostępnij za pośrednictwem


StartupTask.GetForCurrentPackageAsync Method

Definition

Gets all startup tasks for the current app package.

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))

Returns

When this method completes, it returns all startup tasks for the current app package.

Attributes

Applies to