NotificationManagerSendAsync - метод
Метод для отправки уведомления.
Пространство имён: Tessa.NoticesСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public Task<ValidationResult> SendAsync(
INotificationEmailSourceParameter emailSourceParameter,
INotificationRecipientsSourceParameter recipientsSourceParameter,
INotificationSendContext context,
CancellationToken cancellationToken = default
)
Public Function SendAsync (
emailSourceParameter As INotificationEmailSourceParameter,
recipientsSourceParameter As INotificationRecipientsSourceParameter,
context As INotificationSendContext,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ValidationResult)
public:
virtual Task<ValidationResult^>^ SendAsync(
INotificationEmailSourceParameter^ emailSourceParameter,
INotificationRecipientsSourceParameter^ recipientsSourceParameter,
INotificationSendContext^ context,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract SendAsync :
emailSourceParameter : INotificationEmailSourceParameter *
recipientsSourceParameter : INotificationRecipientsSourceParameter *
context : INotificationSendContext *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValidationResult>
override SendAsync :
emailSourceParameter : INotificationEmailSourceParameter *
recipientsSourceParameter : INotificationRecipientsSourceParameter *
context : INotificationSendContext *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValidationResult>
- emailSourceParameter INotificationEmailSourceParameter
- Параметры для получения уведомления.
- recipientsSourceParameter INotificationRecipientsSourceParameter
- Параметры для определения получателей уведомления.
- context INotificationSendContext
- Контекст отправки уведомления.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskValidationResultВозвращает результат валидации отправки уведомлений.
INotificationManagerSendAsync(INotificationEmailSourceParameter, INotificationRecipientsSourceParameter, INotificationSendContext, CancellationToken)