IAlertNotificationService

StockSharp.Alerts

Define un servicio de notificación de alerta.

Implementa: ILogSource, IDisposable

Métodos

NotifyAsync
public ValueTask NotifyAsync(AlertNotifications type, long? externalId, LogLevels logLevel, string caption, string message, DateTime time, CancellationToken cancellationToken)
result = iAlertNotificationService.NotifyAsync(type, externalId, logLevel, caption, message, time, cancellationToken)

Agregue alerta en la salida.

type
Tipo de alerta.
externalId
ID externo.
logLevel
LogLevels
caption
Cabeza de señal.
message
Alerta de texto.
time
Tiempo de creación.
cancellationToken
CancellationToken.

Devuelve: ValueTask.