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

Tries to get notification from cache.

Definition

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

Параметры

notificationId  Guid
Id 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 id.

См. также