Microsoft 70-484 - Essentials of Developing Windows Store Apps using C# Exam

Page:    1 / 24   
Total 118 questions

You need to ensure that the app resumes according to the requirements.
Which actions should you perform? (Each correct answer presents part of the solution.
Choose all that apply.)

  • A. Retrieve new user content by using the Window.Current.Dispatcher.ProcessEvents() method in the App_Resuming event handler.
  • B. update the user interface by using the Window.Current.Dispatcher.Invoke() method in the App_Resuming event handler.
  • C. Override the OnLaunched event handler.
  • D. Retrieve new user content by using the Window.Current.Dispatcher.ProcessEvents() method in the OnLaunched event handler when the ActivationKind is Launch.
  • E. Update the user interface by using the Window.Current.Dispatcher.Invoke() method in the OnLaunched event handler when the ActivationKind is Launch.
  • F. Register the App_Resuming event handler for the Resuming event.


Answer : A,B

Explanation:
From scenario:
The app must meet the following technical requirements:
/ When the app resumes after a period of suspension, refresh the user interface, tile images, and data with current information from the web service.

You need to identify the class to use as the data context for the image list box.
Which class should you use?

  • A. System. Collections.Object Model. CollectionObserver<T>
  • B. System.Collections.ObjectModel.ObservableCollection<T>
  • C. System.Collections.Generic.IEnumerator<T>
  • D. System.Collections.Generic.IEnumerable<T>


Answer : B

Explanation: ObservableCollection<T> Class
Represents a dynamic data collection that provides notifications when items get added, removed, or when the whole list is refreshed.

You need to configure toast notifications for the photo competition.
Which code segment should you use?


  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D


Answer : B

Explanation: The app must display toast notifications to signal the end of a photo competition. The toast notifications must meet the following requirements:
/ Display toast notifications for as long as possible

You need to access the remote image data according to the requirements.
Which data storage methods should you use?

  • A. SaveDataToSqlAzureStorage() and GetDataFromSqlAzureStorage()
  • B. SaveDataToRemoteStorage() and GetDataFromRemoteStorage()
  • C. SaveDataToAzureStorage() and GetDataFromAzureStorage()
  • D. SaveDataToWebService() and GetDataFromWebService()


Answer : D

You need to choose the appropriate data binding strategy for the image list box.
Which method should you use?

  • A. System.Drawing.ImageConverter.ConvertToString()
  • B. IValueConverter.ConvertBack()
  • C. IValueConverter.Convert()
  • D. System.Drawing. ImageConverter-ConvertFromStrin()


Answer : C

Explanation: IValueConverter.Convert
The data binding engine calls this method when it propagates a value from the binding source to the binding target.

Page:    1 / 24   
Total 118 questions