No announcements
Found 4125684 threads
-
1 Votes
How can i get data from sql server using async/await
See http://msdn.microsoft.com/en-us/library/hh211418.aspx for some documentation on the subject.Answered | 1 Replies | 24579 Views | Created by Prem Shah - Tuesday, October 16, 2012 10:21 AM | Last reply by Stephen Toub - MSFT - Sunday, October 21, 2012 11:14 PM -
2 Votes
Async / await - I just don't get it
I think I know enough to use async and await.Answered | 15 Replies | 3717 Views | Created by John-CI - Tuesday, December 9, 2014 6:59 PM | Last reply by John-CI - Sunday, December 14, 2014 5:38 PM -
2 Votes
How to use async/await in backgroundtask
What behavior did you expect and how does that differ from what you expected?Answered | 2 Replies | 5211 Views | Created by 海獅 - Monday, April 9, 2012 12:29 PM | Last reply by Mike Riches - MSFT - Thursday, May 10, 2012 12:24 AM -
0 Votes
simple await not awaiting async
Hi, On other hand, if you just want to serialize data, you can try DataContractSerializer class, add the know types.Answered | 7 Replies | 2031 Views | Created by Dexter Dengler - Saturday, April 27, 2013 12:28 AM | Last reply by Jesse Jiang - Thursday, May 2, 2013 2:53 AM -
0 Votes
Using _ = with an Await/Async pattern
Sounds useful.Answered | 4 Replies | 739 Views | Created by Tre4 - Saturday, July 27, 2019 1:45 PM | Last reply by Pete Laker - Saturday, July 27, 2019 4:02 PM -
2 Votes
async , await
Calling code needs to know this because if they don't wait for the result (using Result, Wait or await) then there is a fundamental logic flaw in there.Answered | 3 Replies | 762 Views | Created by Markus Freitag - Friday, February 8, 2019 5:04 PM | Last reply by CoolDadTx - Saturday, February 9, 2019 4:03 PM -
0 Votes
async await... get lost...
Hi Ponzano- There should be an 'await' keyword before the m_buffer.ReceiveAsync() line; if that's missing in the document, it's an error in the document and we'll fix that.Answered | 1 Replies | 7146 Views | Created by Ponzano Paolo - Wednesday, July 6, 2011 1:40 PM | Last reply by Stephen Toub - MSFT - Wednesday, July 6, 2011 2:48 PM -
0 Votes
async and await
Async tasks can be awaited from other async tasks, waited from synchronous methods and finally as RJP1973 mention, take the Task it self.Answered | 3 Replies | 616 Views | Created by MarcinMR - Monday, March 7, 2016 4:25 PM | Last reply by cgentsis - Monday, March 7, 2016 5:23 PM -
1 Votes
Async and await
can I send u the project file sir .Answered | 5 Replies | 908 Views | Created by Bala Viknesh S - Monday, March 31, 2014 3:28 AM | Last reply by Bala Viknesh S - Tuesday, April 1, 2014 7:22 AM -
2 Votes
How can async/await not require multithreading?
This may also become more common, especially as people get to understand and use async/await.Answered | 3 Replies | 7840 Views | Created by TomPester - Tuesday, November 2, 2010 7:53 AM | Last reply by TomPester - Tuesday, November 2, 2010 3:56 PM -
0 Votes
Question on Async and Await
As is, it obviously won't compile, and I don't see how to make it compile.Answered | 2 Replies | 1155 Views | Created by Mr. Javaman II - Tuesday, January 29, 2013 9:56 PM | Last reply by Mr. Javaman II - Wednesday, January 30, 2013 12:31 AM -
0 Votes
Right way to use Async and Await ?
But that requires support from the web service proxy, if it doesn't have that support and you can't change it then async I/O isn't an option.Answered | 17 Replies | 1704 Views | Created by peter clift - Thursday, November 12, 2015 10:47 PM | Last reply by Mike Danes - Tuesday, November 17, 2015 8:44 AM -
2 Votes
async await not working properly
This can be beneficial to other community members reading this thread.Answered | 4 Replies | 4835 Views | Created by Sudip_inn - Friday, March 9, 2018 3:07 PM | Last reply by Fei Hu - Monday, March 12, 2018 8:39 AM -
10 Votes
await async task
double multiplication = await data; return multiplication; // after getting the value i can use it where i called ...Answered | 26 Replies | 3098 Views | Created by Markus Freitag - Tuesday, March 27, 2018 4:30 PM | Last reply by Konstantinos pap - Tuesday, April 10, 2018 7:36 PM -
0 Votes
Async Await
A very good MSDN documentation for you to better understand async and await: Asynchronous Programming with Async and Await (C# and Visual ...Answered | 2 Replies | 844 Views | Created by Joaquinmm - Monday, July 7, 2014 10:09 PM | Last reply by Caillen - Wednesday, July 9, 2014 7:36 AM -
1 Votes
Async, Await, Tasks, and Returns...
I've used AsParallel() which made complete sense in how to use it because I already understood threads.Answered | 7 Replies | 1481 Views | Created by JaedenRuiner - Wednesday, October 30, 2019 5:56 PM | Last reply by JaedenRuiner - Thursday, November 14, 2019 5:57 PM -
1 Votes
Async/Await: How to capture return value when not using await keyword
We could get the result if we do not use the await.Answered | 2 Replies | 1611 Views | Created by Sudip_inn - Sunday, December 23, 2018 5:58 PM | Last reply by Wendy Zang - Monday, December 24, 2018 7:15 AM -
0 Votes
Async/Await Question
I want to run two methods together in order to reduce delay and write to a label on a form once the methods have both completed.Answered | 1 Replies | 374 Views | Created by IndigoMontoya - Monday, March 7, 2016 9:33 PM | Last reply by Brian Muth - Tuesday, March 8, 2016 12:22 AM -
0 Votes
async/await and Task.WaitAll() WTF?
instead of using tasks[i] = await Task.Factory.StartNew(..)Answered | 13 Replies | 22361 Views | Created by Confuset - Friday, November 30, 2012 12:47 PM | Last reply by Confuset - Friday, November 30, 2012 5:56 PM -
1 Votes
Have an async/await block
If that method returns a Task, you can simply call Wait() on it.Answered | 3 Replies | 4283 Views | Created by Perry Manole - Tuesday, December 25, 2012 1:25 PM | Last reply by svick - Tuesday, January 1, 2013 3:24 PM - Items 1 to 20 of 4125684 Next ›
No announcements