UserNotificationListener.GetNotificationsAsync(NotificationKinds) Metodo

Definizione

Recupera in modo asincrono le notifiche che corrispondono al tipo di notifica specificato.

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))

Parametri

kinds
NotificationKinds

Tipo di notifica da recuperare.

Restituisce

Raccolta di notifiche del tipo specificato.

Attributi

Si applica a