Alarm.Sound Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the sound file that plays when the Alarm is launched.

Namespace:  Microsoft.Phone.Scheduler
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)


Public Property Sound As Uri
public Uri Sound { get; set; }

Property Value

Type: System..::.Uri
The sound file that plays when the alarm is launched.


The Sound URI must point to a file packaged in the application’s .xap file. Isolated storage is not supported. When the alarm is launched, the sound is played quietly and then gradually increases in volume. There is no way to modify this behavior.

The supported file types for alarm sound files are MP3, WMA, and WAV.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1


Windows Phone

See Also


Alarm Class

Microsoft.Phone.Scheduler Namespace