INotificationEmailSourceTryGetEmailAsync - метод
Возвращает шаблон уведомления, по которому будет формироваться email для пользователя.
Пространство имён: Tessa.Notices.SourcesСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
ValueTask<NotificationEmail> TryGetEmailAsync(
INotificationEmailSourceParameter emailSourceParameter,
INotificationSendContext sendContext,
CancellationToken cancellationToken = default
)
Function TryGetEmailAsync (
emailSourceParameter As INotificationEmailSourceParameter,
sendContext As INotificationSendContext,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of NotificationEmail)
ValueTask<NotificationEmail^> TryGetEmailAsync(
INotificationEmailSourceParameter^ emailSourceParameter,
INotificationSendContext^ sendContext,
CancellationToken cancellationToken = CancellationToken()
)
abstract TryGetEmailAsync :
emailSourceParameter : INotificationEmailSourceParameter *
sendContext : INotificationSendContext *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<NotificationEmail>
- emailSourceParameter INotificationEmailSourceParameter
- Параметр с данными для получения уведомления.
- sendContext INotificationSendContext
- Контекст отправки уведомления.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskNotificationEmailШаблон уведомления.