共用方式為


SystemSound.PlaySystemSoundAsync 方法

定義

以非同步方式播放系統音效,並傳回音效結束時完成的 T:System.Threading.Tasks.Task

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

傳回

適用於