INotificationsCacheTryGetNotificationAsync(String, CancellationToken) - метод
Tries to get notification from cache.
Пространство имён: Tessa.NoticesСборка: Tessa (в Tessa.dll) Версия: 4.0.4
Task<NotificationEmail?> TryGetNotificationAsync(
string notificationAlias,
CancellationToken cancellationToken = default
)
Function TryGetNotificationAsync (
notificationAlias As String,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of NotificationEmail)
Task<NotificationEmail^>^ TryGetNotificationAsync(
String^ notificationAlias,
CancellationToken cancellationToken = CancellationToken()
)
abstract TryGetNotificationAsync :
notificationAlias : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<NotificationEmail>
- notificationAlias String
- Alias of the notification.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskNotificationEmailNotificationEmail or
null if here is no cached notification
with given alias.