The sample code for this section includes a page that allows you to enter the details of a new alarm—including its name and begin time—and to set the alarm via an application bar button. The code is located in the Alarms directory of the WPUnleashed.BackgroundAgents project, in the BackgroundAgents solution.
Within the sample, the
AlarmViewModel class contains various properties that correspond to the following properties of the
DateTime value indicating when the alarm should occur.
Name—A unique string identifier ...