You are developing a Windows Forms Application . For the UI thread to run smoothly, you have adopted the asynchronous method for performing the operation.
An operation named TestOperation performs calculations that will be used by other operations. You need to ensure that TestOperation runs at the highest
possible priority. Which code segment should you use?

 Posted by Niladri.Biswas on 2/3/2013 | Category: C# Interview questions | Views: 4949 | Points: 40
Select from following answers:
  1. TestOperation.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Normal,
  2. TestOperation.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.DataBind,
  3. TestOperation.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Send,new OneArgDelegate(UpdateUserInterface), report);
  4. TestOperation.Dispatcher.BeginInvoke(System.Windows.Threading.DispatcherPriority.Render,
  5. All Above

Show Correct Answer

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response