SystemSound.PlayAlertSoundAsync 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 sound or alert, returning a T:System.Threading.Task that completes after the sound ends.
public System.Threading.Tasks.Task PlayAlertSoundAsync ();
member this.PlayAlertSoundAsync : unit -> System.Threading.Tasks.Task