SystemSound.PlaySystemSound 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.
Overloads
PlaySystemSound() |
Plays the system sound. |
PlaySystemSound(Action) |
Plays the system sound and calls 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 afterwards.
public void PlaySystemSound (Action onCompletion);
member this.PlaySystemSound : Action -> unit
Parameters
- onCompletion
- Action