Compartilhar via


UserNotificationListener.GetNotificationsAsync(NotificationKinds) Método

Definição

Recupera de forma assíncrona as notificações que correspondem ao tipo de notificação especificado.

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

Parâmetros

kinds
NotificationKinds

O tipo de notificação a ser recuperada.

Retornos

Uma coleção de notificações do tipo especificado.

Atributos

Aplica-se a