IAlertSoundService
StockSharp.Alerts
Plays the sound that announces an alert.
实现: ILogSource, IDisposable
方法
PlayAsync
public ValueTask PlayAsync(CancellationToken cancellationToken)
result = iAlertSoundService.PlayAsync(cancellationToken)
Play the alert sound.
- cancellationToken
- CancellationToken.
返回值: ValueTask.