You are developing a Windows Store app. An XML document named tileXmlDocument
contains the layout of the app tile.
You need to configure a tile notification that will display for 15 seconds.
Which code segments can you use to achieve this goal? (Each correct answer presents a
complete solution. Choose all that apply.)
A.
Option A
B.
Option B
C.
Option C
D.
Option D
Explanation:
* Example:
tileNotification.ExpirationTime = DateTimeOffset.UtcNow.AddMinutes(10);
* This example specifies that the notification should appear in 3 hours. This example uses
the DateTime object.
Int16 dueTimeInHours = 3;
DateTime dueTime = DateTime.Now.AddHours(dueTimeInHours);