UserNotificationListener.GetNotificationsAsync(NotificationKinds) Méthode

Définition

Récupère de manière asynchrone les notifications qui correspondent au type de notification spécifié.

public:
 virtual IAsyncOperation<IVectorView<UserNotification ^> ^> ^ GetNotificationsAsync(NotificationKinds kinds) = GetNotificationsAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<IVectorView<UserNotification>> GetNotificationsAsync(NotificationKinds const& kinds);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<IReadOnlyList<UserNotification>> GetNotificationsAsync(NotificationKinds kinds);
function getNotificationsAsync(kinds)
Public Function GetNotificationsAsync (kinds As NotificationKinds) As IAsyncOperation(Of IReadOnlyList(Of UserNotification))

Paramètres

kinds
NotificationKinds

Type de notification à récupérer.

Retours

Collection de notifications du type spécifié.

Attributs

S’applique à