Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 1.33 KB

package_stagecontentgroupsasync_1686225474.md

File metadata and controls

36 lines (20 loc) · 1.33 KB
-api-id -api-type
M:Windows.ApplicationModel.Package.StageContentGroupsAsync(Windows.Foundation.Collections.IIterable{System.String})
winrt method

Windows.ApplicationModel.Package.StageContentGroupsAsync

-description

Put the packages in the specified content groups into the staging queue.

-parameters

-param names

The names of the content groups to stage.

-returns

A list of PackageContentGroup objects for each content group specified by the names parameter.

-remarks

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.

-see-also

-examples