Share via


AppExtensionCatalog.FindAllAsync Method

Definition

Provides the list of extensions in the catalog.

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

Returns

The list of extensions in the catalog. Note that this method returns a list of AppExtensions, not Packages. You can get the Package for each AppExtension with AppExtension.Package.

Attributes

Remarks

Extensions are scoped by the <uap3:AppExtension Name=...> defined in the extension's Package.appxmanifest file. This method returns the list of extensions installed on the machine that match the <uap3:AppExtension 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