PackageCatalog.PackageContentGroupStaging Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The event that is fired when a package content group starts staging.
// Register
event_token PackageContentGroupStaging(TypedEventHandler<PackageCatalog, PackageContentGroupStagingEventArgs const&> const& handler) const;
// Revoke with event_token
void PackageContentGroupStaging(event_token const* cookie) const;
// Revoke with event_revoker
PackageCatalog::PackageContentGroupStaging_revoker PackageContentGroupStaging(auto_revoke_t, TypedEventHandler<PackageCatalog, PackageContentGroupStagingEventArgs const&> const& handler) const;
public event TypedEventHandler<PackageCatalog,PackageContentGroupStagingEventArgs> PackageContentGroupStaging;
function onPackageContentGroupStaging(eventArgs) { /* Your code */ }
packageCatalog.addEventListener("packagecontentgroupstaging", onPackageContentGroupStaging);
packageCatalog.removeEventListener("packagecontentgroupstaging", onPackageContentGroupStaging);
- or -
packageCatalog.onpackagecontentgroupstaging = onPackageContentGroupStaging;
Public Custom Event PackageContentGroupStaging As TypedEventHandler(Of PackageCatalog, PackageContentGroupStagingEventArgs)
Event Type
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
Remarks
If the PackageCatalog is obtained using OpenForCurrentPackage, the app only receives package events for itself or its related packages such as optional packages.
To get package events for all of a user's packages, obtain the PackageCatalog using OpenForCurrentUser instead.
Applies to
Feedback
Submit and view feedback for