No announcements
Found 3177872 threads
-
3 Votes
MVVM with background thread but UI is not updated
Addition: background thread uses BackgroundWorker and notification to UI-thread is fired via RunWorkerCompleted which, according to documentation, always ...Answered | 2 Replies | 5477 Views | Created by sn75 - Monday, July 26, 2010 1:02 PM | Last reply by Riana Rambonimanana - Monday, July 26, 2010 3:52 PM -
0 Votes
Threads in WPF.
Yes, the invoked delegate happens on a background thread.Answered | 3 Replies | 7473 Views | Created by Michael Hockstein - Tuesday, February 9, 2010 6:32 AM | Last reply by Michael Hockstein - Wednesday, February 10, 2010 2:07 PM -
0 Votes
Are Task threads considered "background" threads?
At that time, any background threads are still running, and the OS will simply terminate them.Answered | 3 Replies | 7742 Views | Created by Mystereman - Sunday, June 6, 2010 11:11 PM | Last reply by Reed Copsey, Jr - Monday, June 7, 2010 7:19 PM -
0 Votes
IO operations in thread pool threads
syncCode())] purely for unloading (ie: to not block a UI thread), but in general, wrapping asynchronous tasks around synchronous operations actually just adds ...Answered | 5 Replies | 1879 Views | Created by Kirk Brackebusch - Friday, March 1, 2013 11:26 PM | Last reply by Reed Copsey, Jr - Monday, March 4, 2013 7:05 PM -
0 Votes
Transaction Commit from background thread
Hi isenatore, Are you referring to this scenario: How to: Update a UML Model from a Background ...Answered | 2 Replies | 4313 Views | Created by isenatore - Thursday, November 25, 2010 6:13 PM | Last reply by Alan Cameron Wills - - Tuesday, November 30, 2010 1:57 PM -
1 Votes
Updating a BitmapSource from background thread
The same operation with WinForms costs me just a 2-3 % of resources, while here it's about 60 - 70%.Answered | 4 Replies | 4670 Views | Created by Zenon66 - Sunday, October 28, 2012 1:32 PM | Last reply by jony feldman - Monday, October 29, 2012 9:53 AM -
2 Votes
Get back to the UI thread
If you want the delegate provided to the ActionBlock to run on the UI thread, you can pass an ExecutionDataflowBlockOptions to the ActionBlock constructor, and set ...Answered | 3 Replies | 9567 Views | Created by Relam.pago - Sunday, February 5, 2012 8:39 PM | Last reply by Stephen Toub - MSFT - Monday, February 6, 2012 3:53 PM -
0 Votes
MFC, Poking the UI thread from another thread.
This pointer can be used to do PostMessage from the thread.Answered | 9 Replies | 5305 Views | Created by Mark Duffill - Thursday, December 4, 2008 2:27 PM | Last reply by Mark Duffill - Friday, December 5, 2008 8:56 AM -
2 Votes
Using the Dispatcher for Threading in WPF, creating a background thread
Any non-UI code I would always perform on a background thread.Answered | 9 Replies | 4525 Views | Created by Michael Hockstein - Wednesday, February 10, 2010 2:24 PM | Last reply by Michael Hockstein - Friday, February 12, 2010 11:34 AM -
0 Votes
Running thread while app is in background
Your thread will not continue to run once the app is suspended.Answered | 2 Replies | 737 Views | Created by ashekul - Sunday, October 6, 2013 10:40 AM | Last reply by ashekul - Monday, October 7, 2013 3:39 AM -
0 Votes
WIC object created in Background tasks and accessed in main UI thread
Hi CCRaj, I have read your question carefully, and you should marshal your data to update UI thread from a background task not the UI ...Answered | 7 Replies | 1541 Views | Created by naiveCoder - Wednesday, November 27, 2013 7:03 PM | Last reply by Xiaoliang Chen - MSFT - Tuesday, December 3, 2013 2:36 AM -
7 Votes
Background Thread is not terminated when Foreground Threads are terminated.
If you're putting it in a forms application you have a UI thread that is alive after the foreground and background thread complete.Answered | 13 Replies | 475 Views | Created by vanerio - Thursday, March 23, 2017 1:38 PM | Last reply by vanerio - Thursday, March 23, 2017 10:53 PM -
5 Votes
Raising PropertyChanged on a background thread.
For more Info: http://weblogs.asp.net/cschittko/archive/2008/05/14/wpf-ui-update-from-background-threads.aspx Mark ...Answered | 9 Replies | 23380 Views | Created by SamWPF - Wednesday, September 15, 2010 8:49 PM | Last reply by Kenny Pflug - Thursday, December 8, 2011 7:56 AM -
0 Votes
Starting task from UI thread
If it doesn't get one, it grabs whatever TaskScheduler is current (and it'll always get one, as TaskScheduler.Current defaults to TaskScheduler.Default (the thread pool) if ...Answered | 8 Replies | 5670 Views | Created by sergunok - Tuesday, February 8, 2011 5:33 PM | Last reply by Stephen Toub - MSFT - Sunday, February 20, 2011 4:29 PM -
0 Votes
Why delegate or background worker is used to handle cross thread operation
Often, you simply know that the event that you subscribe to, will come from a different thread.Answered | 5 Replies | 1705 Views | Created by Mou_kolkata - Thursday, October 6, 2016 2:32 PM | Last reply by Konrad Neitzel - Sunday, October 16, 2016 6:51 PM -
1 Votes
update UI from different thread
PaintKey method is a member of the class clsKey , which is actually running on the same thread, but from time to time I receive some data ...Answered | 5 Replies | 3439 Views | Created by MattNet - Tuesday, June 15, 2010 11:25 AM | Last reply by MattNet - Friday, June 18, 2010 9:54 AM -
0 Votes
Making running thread as Current thread
Any attempts to update a UI element will result in a cross thread exception void bwg_DoWork(object sender, DoWorkEventArgs e) { //Perform data retrieval ...Answered | 4 Replies | 2847 Views | Created by sandhya chitturi - Wednesday, June 29, 2011 9:10 PM | Last reply by sandhya chitturi - Friday, July 1, 2011 1:53 PM -
1 Votes
Background Thread in WCF application
Why not just start the background worker when the service is first instantiated?Answered | 2 Replies | 5622 Views | Created by Kamran Shahid - Thursday, May 12, 2011 6:19 PM | Last reply by Ben E D Ellis - Thursday, May 12, 2011 11:16 PM -
0 Votes
SynchronizationContext and the UI Thread
Because you are scheduling the continuations to run on the UI thread, of which exists only one, both continuations are guaranteed to ...Answered | 4 Replies | 6286 Views | Created by Robc1234 - Wednesday, March 16, 2011 12:40 PM | Last reply by MarkRockmann - Friday, March 18, 2011 2:21 PM -
6 Votes
Cross-thread operation not valid:
David, Could you provide me how to stop thread smoothly in serial port communication.Answered | 6 Replies | 22656 Views | Created by chuck33 - Thursday, October 9, 2008 6:54 PM | Last reply by servy42 - Wednesday, December 19, 2012 7:32 PM - Items 1 to 20 of 3177872 Next ›
No announcements