Edit

Share via


SystemSound.PlaySystemSound Method

Definition

Overloads

PlaySystemSound()

Plays the system sound.

PlaySystemSound(Action)

Plays the system sound and calls <param name="onCompletion" /> afterwards.

PlaySystemSound()

Plays the system sound.

public void PlaySystemSound();
member this.PlaySystemSound : unit -> unit

Remarks

The system sound is played asynchronously, but it is also limited to 30 seconds or less.

Applies to

PlaySystemSound(Action)

Plays the system sound and calls <param name="onCompletion" /> afterwards.

public void PlaySystemSound(Action onCompletion);
member this.PlaySystemSound : Action -> unit

Parameters

onCompletion
Action

Applies to