CustomNotificationSenderSendMessageAsync - метод |
Пространство имён:
Tessa.Extensions.Default.Server.Notices
Сборка:
Tessa.Extensions.Default.Server (в Tessa.Extensions.Default.Server.dll) Версия: 3.5.0.19
Синтаксис public Task SendMessageAsync(
INotificationContext context,
IList<INotification> notifications,
CancellationToken cancellationToken = default
)
Public Function SendMessageAsync (
context As INotificationContext,
notifications As IList(Of INotification),
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ SendMessageAsync(
INotificationContext^ context,
IList<INotification^>^ notifications,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract SendMessageAsync :
context : INotificationContext *
notifications : IList<INotification> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override SendMessageAsync :
context : INotificationContext *
notifications : IList<INotification> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
Параметры
- context
- Тип: Tessa.Extensions.Default.Shared.NoticesINotificationContext
- notifications
- Тип: System.Collections.GenericIListINotification
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskРеализации
INotificationSenderSendMessageAsync(INotificationContext, IListINotification, CancellationToken)См. также