Sunday, February 27, 2011

Blog Post: 70-511 Exam Guide: Threading Model, Dispatcher

 

Totally AWESOME sample: Threading Model

Do what it takes, memorize the DispatchPriority Enumerations (not the numeric component, just the Member names and how to use them):

  • Invalid: This is an invalid priority.
  • Inactive: Operations are not processed.
  • SystemIdle: Operations are processed when the system is idle.
  • ApplicationIdle: Operations are processed when the application is idle.
  • ContextIdle: Operations are processed after background operations have completed.
  • Background: Operations are processed after all other non-idle operations are completed.
  • Input: Operations are processed at the same priority as input.
  • Loaded: Operations are processed when layout and render has finished but just before items at input priority are serviced. Specifically this is used when raising the Loaded event.
  • Render: Operations processed at the same priority as rendering.
  • DataBind: Operations are processed at the same priority as data binding.
  • Normal: Operations are processed at normal priority. This is the typical application priority.
  • Send: Operations are processed before other asynchronous operations. This is the highest priority.

Drea de Matteo Trista Rehn Moon Bloodgood Kristin Kreuk Molly Sims

No comments:

Post a Comment