UserNotificationListener.GetNotificationsAsync(NotificationKinds) メソッド

定義

指定した通知の種類に一致する通知を非同期的に取得します。

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

パラメーター

kinds
NotificationKinds

取得する通知の種類。

戻り値

指定した型の通知のコレクション。

属性

適用対象