PackageExtensionCatalog Class
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.
Provides information about available extensions within a package-scope extension group.
public ref class PackageExtensionCatalog sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 1114112)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PackageExtensionCatalog final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 1114112)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PackageExtensionCatalog
Public NotInheritable Class PackageExtensionCatalog
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 11, version 24H2 (introduced in 10.0.26100.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v19.0)
|
Methods
FindAll() |
Provides the list of extensions in the catalog. |
FindAllAsync() |
Provides the list of extensions in the catalog. |
Open(String) |
Opens a catalog of extensions. |
RequestRemovePackageAsync(String) |
Attempts to remove the specified extension package from the machine. |
Events
PackageInstalled |
Event that is fired when an extension package is installed. |
PackageStatusChanged |
Event that is fired when an extension package in the catalog removed, updated, or installed. |
PackageUninstalling |
Event that is fired when an extension package is being uninstalled. |
PackageUpdated |
Event that is fired when an extension package in the catalog is updated. |
PackageUpdating |
Event that is fired when an extension package is being updated. |