What should you do?

You are developing a Windows Store app that requires access to a user’s location.
A user denies the app access to the location service.
You need to handle the error that results when the app calls the GetGeopositionAsync() method.
What should you do?
A. Modify the app manifest to enable Location services and query the user.
B. Display an interface for the user to enable location and rerun the method.
C. Catch the exception using a try-catch statement.
D. Modify the app.config file to enable Location services and query the user.
E. Catch the exception using a try-catch async statement.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.