No announcements
Found 2360342 threads
-
1 Votes
What is the right way to wait for an async operation to complete before updating the UI?
ohh you can do an await in ui thread. await is non blocking. the code below the await get put in a callback and scheduled after the async operation completed. that the power or ...Answered | 5 Replies | 3017 Views | Created by Carl Jantzen - Sunday, July 8, 2012 6:08 PM | Last reply by Carl Jantzen - Monday, July 9, 2012 5:11 AM -
2 Votes
Async operations with MVVM.
A class for managing multiple asynch operation is also a good idea.Answered | 6 Replies | 10214 Views | Created by D Ramos - Saturday, February 21, 2009 2:33 AM | Last reply by nironixon - Tuesday, July 21, 2009 7:59 PM -
0 Votes
Async operation needs to be ready before move on
i tried this : private static ScreenManager _instance; public static ScreenManager Instance { get { ...Answered | 3 Replies | 1535 Views | Created by MrDebugging - Sunday, March 2, 2014 4:17 PM | Last reply by MrDebugging - Monday, March 3, 2014 4:02 PM -
0 Votes
Async Operation with multiple task -- need some help
Hi, I'd love to point to a single article or post that helps, I don't have one to hand - this is probably the ...Answered | 3 Replies | 622 Views | Created by Brij Shah - Thursday, March 23, 2017 1:42 PM | Last reply by bowman_d - Thursday, March 23, 2017 2:53 PM -
1 Votes
When is async not async
The await checks whether the operation completed; if it's completed it behaves synchronously otherwise it will behave asynchronously and let the operation run in ...Answered | 13 Replies | 1424 Views | Created by Dave Mullard - Monday, August 11, 2014 3:09 AM | Last reply by Eyal Solnik - Tuesday, August 12, 2014 2:30 PM -
0 Votes
Delay before performance data is ready?
The 3-4 hour window is just a guideline, and for some accounts you might even get data 1 or 2 hours after the end of a day, so feel free to experiment and optimize as needed.Answered | 1 Replies | 743 Views | Created by OliverDarraugh - Monday, December 29, 2014 8:57 AM | Last reply by Eric Urban [MSFT] - Saturday, January 3, 2015 5:41 PM -
0 Votes
How to wait for async method before executing the next line
It should resemble this: public async Task ListenForVoice() { // don't complete until voice has been listened to // when this method ...Answered | 3 Replies | 2128 Views | Created by kiko234 - Thursday, March 12, 2015 4:52 AM | Last reply by pumpkinszwan - Friday, March 13, 2015 6:09 AM -
0 Votes
synchronious call of async method
As Matthew suggests you cannot use the await keyword in a method that is not marked async.Answered | 2 Replies | 761 Views | Created by rowe10 - Monday, December 7, 2015 2:40 AM | Last reply by Magnus (MM8) - Monday, December 7, 2015 2:22 PM -
0 Votes
Wait for long running operation before next operation without UI freeze
>how i can wait for a asynchronous task to return the result before processing with next task.Answered | 1 Replies | 3891 Views | Created by IamHuM - Monday, August 1, 2016 12:13 PM | Last reply by Magnus (MM8) - Monday, August 1, 2016 8:39 PM -
3 Votes
Async Framework with Async WCF calls.
DoWork1Async returns after starting the operation, which causes the task to complete (before the operation completes).Answered | 3 Replies | 8978 Views | Created by Russty - Thursday, December 15, 2011 2:17 PM | Last reply by Russty - Friday, December 16, 2011 7:42 AM -
0 Votes
Exception: Another async operation is already in progress.
The exception is always an InvalidOperationException, and the Message member is "Another async operation is already in progress".Answered | 4 Replies | 4063 Views | Created by Astro Flea - Friday, July 20, 2012 6:59 PM | Last reply by Astro Flea - Tuesday, July 24, 2012 5:51 PM -
0 Votes
How do you deal with an async operation in a constructor?
So based on your responses, it seems like I have two options: 1) Use a proper async pattern and change the way this class is ...Answered | 10 Replies | 5774 Views | Created by Ch3rryC0ke - Friday, August 10, 2012 11:05 PM | Last reply by Ch3rryC0ke - Monday, August 13, 2012 7:34 PM -
1 Votes
The 'await' operator can only be used within an async method.
This means that your calling code also needs to either: * Call DoSomethingAsync with an await call: DossierProxy proxy = await ...Answered | 5 Replies | 25040 Views | Created by KBid - Thursday, July 5, 2018 2:16 PM | Last reply by RJP1973 - Friday, July 6, 2018 12:48 PM -
0 Votes
move operators
One way is to click on Operators folder in SQL Management Studio.Answered | 4 Replies | 3203 Views | Created by DBA_LEARNER - Monday, October 31, 2011 10:15 PM | Last reply by DBA_LEARNER - Tuesday, November 1, 2011 3:54 PM -
1 Votes
Async, Await, Tasks, and Returns...
Now, I've written my own thread pool managers long before Task or async/await ever existed.Answered | 7 Replies | 2001 Views | Created by JaedenRuiner - Wednesday, October 30, 2019 5:56 PM | Last reply by JaedenRuiner - Thursday, November 14, 2019 5:57 PM -
4 Votes
Simple operation Move File
Another 2c: the file in archive perhaps needs to have a different name each time a package run, e.g. the current date-time stamp, thus this blog post seems to be the most ...Answered | 6 Replies | 4112 Views | Created by Sonic.Jessy - Friday, September 23, 2011 6:54 PM | Last reply by ArthurZ - Friday, September 23, 2011 8:00 PM -
0 Votes
Async operations in one function under c++
The problem is to merge the two async functions to a synchron function and return the result as a async result.Answered | 3 Replies | 2396 Views | Created by urs32 - Friday, September 21, 2012 4:36 PM | Last reply by Jesse Jiang - Tuesday, September 25, 2012 5:45 AM -
0 Votes
The operating system returned error 21(The device is not ready.)
For some reason when the a failover occurred P drive moved to PE1 the PP1 backup failed.Answered | 12 Replies | 23909 Views | Created by JSQL DBA - Wednesday, September 8, 2010 5:52 PM | Last reply by Dave Hearne - Thursday, September 9, 2010 8:22 PM -
0 Votes
[UWP] Question about async operation in OnSuspending handler - Do I need a deferral?
Use the deferral to complete asynchronous operations, such as saving data to a file, before the system suspends your app.Answered | 1 Replies | 650 Views | Created by Jim Young (Level6 Productions) - Tuesday, May 24, 2016 1:46 AM | Last reply by Xavier Xie-MSFT - Wednesday, May 25, 2016 2:38 AM -
1 Votes
Async Classes Implementing IDisposable
I would expect the async Stream read/write operations to behave the same way.Answered | 2 Replies | 10929 Views | Created by hannasm - Sunday, February 19, 2012 1:05 AM | Last reply by hannasm - Saturday, February 25, 2012 12:15 AM - Items 1 to 20 of 2360342 Next ›
No announcements