INotificationsCacheTryGetNotificationAsync(String, CancellationToken) - метод

Tries to get notification from cache.

Definition

Пространство имён: Tessa.Notices
Сборка: Tessa (в Tessa.dll) Версия: 4.0.4
C#
Task<NotificationEmail?> TryGetNotificationAsync(
	string notificationAlias,
	CancellationToken cancellationToken = default
)

Параметры

notificationAlias  String
Alias of the notification.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

Возвращаемое значение

TaskNotificationEmail
NotificationEmail or null if here is no cached notification with given alias.

См. также