If I call
Dispatcher.BeginInvoke(operation, DispatcherPriority.Loaded)
1,000,000 times from over 20 threads, are those 1,000,000 operations guranteed to be executed by the UI thread in the order the BeginInvoke calls were made?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
msdn says that If multiple BeginInvoke calls are made at the same DispatcherPriority, they will be executed in the order the calls were made
But if you are accessing the
Dispatcherfrom multiple thread then Any instance members are not guaranteed to be thread safe.