SystemSound.PlayAlertSound 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
PlayAlertSound() |
Plays a sound or alert. |
PlayAlertSound(Action) |
Plays a sound or alert and then calls the handler. |
PlayAlertSound()
Plays a sound or alert.
public void PlayAlertSound ();
member this.PlayAlertSound : unit -> unit
Remarks
The actual behavior of this method depends on the device (iPhone, iPod touch) and the vibrate settings.
Applies to
PlayAlertSound(Action)
Plays a sound or alert and then calls the handler.
public void PlayAlertSound (Action onCompletion);
member this.PlayAlertSound : Action -> unit
Parameters
- onCompletion
- Action