-api-id | -api-type |
---|---|
M:Windows.ApplicationModel.Package.StageContentGroupsAsync(Windows.Foundation.Collections.IIterable{System.String}) |
winrt method |
Put the packages in the specified content groups into the staging queue.
The names of the content groups to stage.
A list of PackageContentGroup objects for each content group specified by the names parameter.
This function completes when all requested groups are staged. The returned list may contain a null element if the named group in that position does not exist. Use PackageCatalog.PackageContentGroupStaging to observe staging progress.
Be sure to check PackageContentGroup.State to verify that the group was successfully staged. Referencing files in a group that is not fully staged may result in unexpected application behavior. Content groups return to the PackageContentGroupState.NotStaged state if the staging operation cannot be completed.