NotificationsProviderGetNotificationsAsync - метод
Retrivies notifications directly from the database.
Пространство имён: Tessa.NoticesСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public Task<ReadOnlyCollection<NotificationEmail>> GetNotificationsAsync(
CancellationToken cancellationToken = default
)
Public Function GetNotificationsAsync (
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ReadOnlyCollection(Of NotificationEmail))
public:
virtual Task<ReadOnlyCollection<NotificationEmail^>^>^ GetNotificationsAsync(
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract GetNotificationsAsync :
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ReadOnlyCollection<NotificationEmail>>
override GetNotificationsAsync :
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ReadOnlyCollection<NotificationEmail>>
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskReadOnlyCollectionNotificationEmailReadonly collection of notifications.
INotificationsProviderGetNotificationsAsync(CancellationToken)