Share via


AppNotificationManager.GetAllAsync Method

Definition

Gets all the app notifications for calling app that are currently displayed in Action Center.

Note

The AppNotificationManager class has a dependency on the Singleton package. Because of that dependency, there are certain considerations to be aware of if you're calling these APIs from a self-contained app. For more info, and specifics, see Dependencies on additional MSIX packages.

public:
 virtual IAsyncOperation<IVector<AppNotification ^> ^> ^ GetAllAsync() = GetAllAsync;
IAsyncOperation<IVector<AppNotification>> GetAllAsync();
public IAsyncOperation<IList<AppNotification>> GetAllAsync();
function getAllAsync()
Public Function GetAllAsync () As IAsyncOperation(Of IList(Of AppNotification))

Returns

A list of AppNotification objects.

Remarks

Note that the AppNotification objects returned by GetAllAsync will have the default values set for the Priority and SuppressDisplay properties, because these properties are transient.

Applies to

See also