共用方式為


SystemSound.PlayAlertSoundAsync 方法

定義

以非同步方式播放音效或警示,傳回在音效結束之後完成的

public System.Threading.Tasks.Task PlayAlertSoundAsync ();
member this.PlayAlertSoundAsync : unit -> System.Threading.Tasks.Task

傳回

適用於