AppNotificationManager.GetAllAsync Method
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.
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.