Share via


PackageExtensionCatalog.FindAllAsync Method

Definition

Provides the list of extensions in the catalog.

public:
 virtual IAsyncOperation<IVectorView<PackageExtension ^> ^> ^ FindAllAsync() = FindAllAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<PackageExtension>> FindAllAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<PackageExtension>> FindAllAsync();
function findAllAsync()
Public Function FindAllAsync () As IAsyncOperation(Of IReadOnlyList(Of PackageExtension))

Returns

The list of extensions in the catalog as an async operation. Note that this method returns a list of PackageExtensions, not Packages. You can get the Package for each PackageExtension with PackageExtension.Package.

Attributes

Remarks

Package extensions are scoped by the <uap17:PackageExtension Name=...> defined in the extension's Package.appxmanifest file. This method returns the list of extensions installed on the machine that match the <uap17:PackageExtension Name=...> defined in the host's Package.appxmanifest file.

You typically call this method when your app launches or resumes from suspension. Then use the events on this class to listen for updates to the extensions in the catalog.

Applies to

See also