Bagikan melalui


UserNotificationListener.GetNotificationsAsync(NotificationKinds) Metode

Definisi

Secara asinkron mengambil pemberitahuan yang cocok dengan jenis pemberitahuan yang ditentukan.

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

Parameter

kinds
NotificationKinds

Jenis pemberitahuan yang akan diambil.

Mengembalikan

Kumpulan pemberitahuan dari jenis yang ditentukan.

Atribut

Berlaku untuk