PrepAway - Latest Free Exam Questions & Answers

Which code segment should you recommend?

You are designing a Windows Phone 7 application that has a Live Tile. You need to ensure that the Live Tile is updated every hour until the user unpins it. Which code segment should you recommend?

PrepAway - Latest Free Exam Questions & Answers

A.
ShellTileSchedule sts = new ShellTileSchedule();
sts.Interval = UpdateInterval.EveryHour;
sts.Recurrence = UpdateRecurrence.Interval;
sts.RemoteImageUri = new System.Uri(“& “);
sts.Start();

B.
ShellTileSchedule sts = new ShellTileSchedule();
sts.Interval = UpdateInterval.EveryHour;
sts.Recurrence = UpdateRecurrence.Interval;
sts.RemoteImageUri = new System.Uri(“& “);
sts.StartTime = DateTime.Now;

C.
ShellTileSchedule sts = new ShellTileSchedule();
sts.Interval = UpdateInterval.EveryHour;
sts.MaxUpdateCount = 7;
sts.Recurrence = UpdateRecurrence.OneTime;
sts.RemoteImageUri = new System.Uri(“& “);
sts.Start();

D.
ShellTileSchedule sts = new ShellTileSchedule();
sts.Interval = UpdateInterval.EveryHour;
sts.MaxUpdateCount = 7;
sts.Recurrence = UpdateRecurrence.Interval;
sts.RemoteImageUri = new System.Uri(“& “);
sts.StartTime = DateTime.Now;
sts.Start();


Leave a Reply