PackageCatalog.PackageInstalling 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.
Indicates that an app package is installing.
// Register
event_token PackageInstalling(TypedEventHandler<PackageCatalog, PackageInstallingEventArgs const&> const& handler) const;
// Revoke with event_token
void PackageInstalling(event_token const* cookie) const;
// Revoke with event_revoker
PackageCatalog::PackageInstalling_revoker PackageInstalling(auto_revoke_t, TypedEventHandler<PackageCatalog, PackageInstallingEventArgs const&> const& handler) const;
public event TypedEventHandler<PackageCatalog,PackageInstallingEventArgs> PackageInstalling;
function onPackageInstalling(eventArgs) { /* Your code */ }
packageCatalog.addEventListener("packageinstalling", onPackageInstalling);
packageCatalog.removeEventListener("packageinstalling", onPackageInstalling);
- or -
packageCatalog.onpackageinstalling = onPackageInstalling;
Public Custom Event PackageInstalling As TypedEventHandler(Of PackageCatalog, PackageInstallingEventArgs)
Event Type
Remarks
If the PackageCatalog object is obtained using OpenForCurrentUser, package events will be received for all packages being installed for the current user.
If the PackageCatalog object is obtained using OpenForCurrentPackage, package events will be received for the current package or its related packages such as optional packages.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro