IDesktopPopupService
StockSharp.Alerts
Desktop popup notification service.
Implements: ILogSource, IDisposable
Methods
NotifyAsync
public ValueTask<bool> NotifyAsync(DateTime time, string caption, string message, string iconKey, CancellationToken cancellationToken)
result = iDesktopPopupService.NotifyAsync(time, caption, message, iconKey, cancellationToken)
Show desktop popup.
- time
- Time.
- caption
- Signal header.
- message
- Alert text.
- iconKey
- Icon to show with notification.
- cancellationToken
- CancellationToken.
Returns: ValueTaskTask result is true if user has clicked the notification.