exam questions

Exam 70-357 All Questions

View all questions & answers for the 70-357 exam

Exam 70-357 topic 1 question 26 discussion

Actual exam question from Microsoft's 70-357
Question #: 26
Topic #: 1
[All 70-357 Questions]

DRAG DROP -
You are developing a Universal Windows Platform (UWP) app.
A user terminates the app.
You need to ensure that the app initializes when the user starts the app.
How should you complete the method? To answers, drag the appropriate code segment to the correct location or locations. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
The OnLaunched method is called when an app is launched. It is passed a LaunchActivatedEventArgs parameter which provides, among other things, the arguments passed to the app, the identifier of the tile that launched the app, and the previous state that the app was in.

Box 1: OnLaunched -
Box 2: LaunchActivatedEventArgs e
Reference: https://docs.microsoft.com/en-us/windows/uwp/launch-resume/app-lifecycle

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Currently there are no comments in this discussion, be the first to comment!
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...