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 day until the user unpins it. Which code segment should you recommend?

PrepAway - Latest Free Exam Questions & Answers

A.
Dim sts As ShellTileSchedule = New ShellTileSchedule() sts.Interval = UpdateInterval.EveryDay
sts.Recurrence = UpdateRecurrence.Interval
sts.RemoteImageUri = New System.Uri(“& “)
sts.Start()

B.
Dim sts As ShellTileSchedule = New ShellTileSchedule() sts.Interval = UpdateInterval.EveryDay
sts.Recurrence = UpdateRecurrence.Interval
sts.RemoteImageUri = New System.Uri(“& “)
sts.StartTime = DateTime.Now

C.
Dim sts As ShellTileSchedule = New ShellTileSchedule() sts.Interval = UpdateInterval.EveryDay
sts.MaxUpdateCount = 7
sts.Recurrence = UpdateRecurrence.Onetime
sts.RemoteImageUri = New System.Uri(“& “)
sts.Start()

D.
Dim sts As ShellTileSchedule = New ShellTileSchedule() sts.Interval = UpdateInterval.EveryDay
sts.MaxUpdateCount = 7
sts.Recurrence = UpdateRecurrence.Interval
sts.RemoteImageUri = New System.Uri(“& “)
sts.StartTime = DateTime.Now
sts.Start()


Leave a Reply