SmtpSenderSendMessageAsync - метод |
Пространство имён:
Tessa.Extensions.Default.Chronos.Notices
Сборка:
Tessa.Extensions.Default.Chronos (в Tessa.Extensions.Default.Chronos.dll) Версия: 3.5.0.19
Синтаксис protected override Task<bool> SendMessageAsync(
MailSenderMessage message,
CancellationToken cancellationToken = default
)
Protected Overrides Function SendMessageAsync (
message As MailSenderMessage,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Boolean)
protected:
virtual Task<bool>^ SendMessageAsync(
MailSenderMessage^ message,
CancellationToken cancellationToken = CancellationToken()
) override
abstract SendMessageAsync :
message : MailSenderMessage *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<bool>
override SendMessageAsync :
message : MailSenderMessage *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<bool>
Параметры
- message
- Тип: Tessa.Extensions.Default.Chronos.NoticesMailSenderMessage
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskBooleanСм. также