IDesktopPopupService

StockSharp.Alerts

Desktop-Popup-Benachrichtigungsdienst.

Implementiert: ILogSource, IDisposable

Methoden

NotifyAsync
public ValueTask<bool> NotifyAsync(DateTime time, string caption, string message, string iconKey, CancellationToken cancellationToken)
result = iDesktopPopupService.NotifyAsync(time, caption, message, iconKey, cancellationToken)

Desktop-Popup anzeigen.

time
Uhrzeit.
caption
Signalkopf.
message
Warnhinweis.
iconKey
Icon mit Benachrichtigung zu zeigen.
cancellationToken
CancellationToken.

Rückgabe: ValueTaskTask @ Ergebnis ist wahr, wenn der Benutzer die Benachrichtigung angeklickt hat.