SystemSound.PlaySystemSoundAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously plays a system sound and returns a T:System.Threading.Tasks.Task that is completed when the sound ends.
public System.Threading.Tasks.Task PlaySystemSoundAsync ();
member this.PlaySystemSoundAsync : unit -> System.Threading.Tasks.Task