IAlertNotificationService

StockSharp.Alerts

Definiert einen Warnmeldungsdienst.

Implementiert: ILogSource, IDisposable

Methoden

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)

Fügen Sie Alarm am Ausgang hinzu.

type
Art der Ausschreibung.
externalId
Externe Kennung.
logLevel
LogLevels
caption
Signalkopf.
message
Warnhinweis.
time
Entstehungszeit.
cancellationToken
CancellationToken.

Rückgabe: ValueTask.