No announcements
Found 2269236 threads
-
0 Votes
async/await with other threads/pools
in with customized thread pools I don't know. However, in neither the Async or Task suuport have I seen any attributes or creation options which allow one ...Answered | 5 Replies | 2551 Views | Created by GoTeamVenture - Monday, April 8, 2013 6:47 PM | Last reply by Reed Copsey, Jr - Monday, April 8, 2013 8:02 PM -
0 Votes
Two asynchronous threads with async and await
Hi !! Using Async CTP and Await I need two threadsAnswered | 7 Replies | 9740 Views | Created by gandalfne0 - Thursday, February 16, 2012 5:04 PM | Last reply by Stephen Adam - Monday, December 24, 2012 3:37 PM -
0 Votes
Help With Async/Await
your async method it will do its work and, since you aren't configuring await, resume on the UI. So when the UI first loads you can display a "loading" styling ...Answered | 1 Replies | 324 Views | Created by IndigoMontoya - Thursday, November 1, 2018 5:28 PM | Last reply by CoolDadTx - Thursday, November 1, 2018 6:25 PM -
2 Votes
async , await
methods end with `Async`. This is so that callers know the behavior. Take an example. class MyType { Task Foo () { return Task.CompletedTask; ...Answered | 3 Replies | 529 Views | Created by Markus Freitag - Friday, February 8, 2019 5:04 PM | Last reply by CoolDadTx - Saturday, February 9, 2019 4:03 PM -
1 Votes
Async, Await, Tasks, and Returns...
, regardless of all the "theory", the reality thus far has been that Task and async/await are inexorably bound to each other. I think the ...Answered | 7 Replies | 1033 Views | Created by JaedenRuiner - Wednesday, October 30, 2019 5:56 PM | Last reply by JaedenRuiner - Thursday, November 14, 2019 5:57 PM -
0 Votes
Async Await
A very good MSDN documentation for you to better understand async and await: Asynchronous Programming withAnswered | 2 Replies | 734 Views | Created by Joaquinmm - Monday, July 7, 2014 10:09 PM | Last reply by Caillen - Wednesday, July 9, 2014 7:36 AM -
0 Votes
Unit tests with async/await?
please check ...Answered | 2 Replies | 1607 Views | Created by Kim Johnson - Thursday, July 26, 2012 3:35 PM | Last reply by Kim Johnson - Friday, July 27, 2012 3:02 PM -
0 Votes
Async Task with No 'await'
, have the ability to do async on methods that return void is not needed. People can just use Task.Factory.StartNew(...) or some other simple method can be ...Answered | 1 Replies | 10288 Views | Created by Emil2000 - Sunday, October 31, 2010 6:44 PM | Last reply by Reed Copsey, Jr - Sunday, October 31, 2010 7:57 PM -
1 Votes
await SuspensionManager.RestoreAsync async error
I am getting this error message and I can't figure out why. The 'await' operator can only be used within an async method. Consider marking this method ...Answered | 1 Replies | 682 Views | Created by bionicman08 - Tuesday, March 24, 2015 3:38 PM | Last reply by Oliver Ulm - Tuesday, March 24, 2015 3:49 PM -
1 Votes
Thread, Task, async, await
. async/await is one of possible solutions to synchronize threads. Keyword async reserves memory in stack for interrupt the current ...Answered | 1 Replies | 355 Views | Created by Markus Freitag - Thursday, September 5, 2019 4:40 PM | Last reply by Peter Fleischer - Thursday, September 5, 2019 7:14 PM -
2 Votes
Async / Await design question
If async / await starts no new threads was is not easier just add event to Task that would fire in main thread when task is finished? P.S. Sorry for silly ...Answered | 2 Replies | 812 Views | Created by Username already in use - Thursday, May 23, 2013 7:00 PM | Last reply by Reed Copsey, Jr - Thursday, May 23, 2013 7:29 PM -
0 Votes
async / await some reasoning
I have publish new post on some reasoning about the await keyword http -
1 Votes
Async method lacks await
>But this seems to run in the same thread and not asynchronously Just marking a method with async modifier doesn't make it run on another thread. The ...Answered | 2 Replies | 6059 Views | Created by AsusT9 - Wednesday, January 14, 2015 1:00 PM | Last reply by Magnus (MM8) - Wednesday, January 14, 2015 1:35 PM -
0 Votes
Async/Await Question
'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to ...Answered | 1 Replies | 288 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 sychronization
You can do the same thing you do with tasks, ie: // Create some async tasks, but don't use await here! var t1 = ...Answered | 1 Replies | 2021 Views | Created by KevinBurton - Thursday, September 20, 2012 8:50 PM | Last reply by Reed Copsey, Jr - Thursday, September 20, 2012 8:57 PM -
0 Votes
async and await
If every method that has the await keyword inside of it needs to be async, and if every async method that is called needs to be called with the await ...Answered | 3 Replies | 450 Views | Created by MarcinMR - Monday, March 7, 2016 4:25 PM | Last reply by cgentsis - Monday, March 7, 2016 5:23 PM -
0 Votes
async and await
Using await/async in a console app is always pretty confusing. I don't think console apps work very well with async/await and in your ...Answered | 4 Replies | 454 Views | Created by berk_canc - Wednesday, December 7, 2016 6:57 AM | Last reply by CoolDadTx - Thursday, December 8, 2016 3:14 PM -
2 Votes
Async Await Issues
await checkForNewFiles()); As does this with theAnswered | 4 Replies | 1896 Views | Created by StormENT - Tuesday, August 28, 2012 1:13 PM | Last reply by StormENT - Tuesday, August 28, 2012 5:40 PM -
0 Votes
using Async() with no await?
"using" statement where they are using the async version of the method...but there is no use of the "await" keyword to ensure completion of the ...Answered | 1 Replies | 402 Views | Created by LKeene - Tuesday, April 4, 2017 4:33 PM | Last reply by Edward8520 - Wednesday, April 5, 2017 2:29 AM -
0 Votes
thread of Async Await
). Edit: I should say that this is only my understanding of things, gleaned from experiment and ...Answered | 1 Replies | 530 Views | Created by FFMM - Friday, March 11, 2016 9:49 AM | Last reply by RJP1973 - Friday, March 11, 2016 10:27 AM - Items 1 to 20 of 2269236 Next ›
No announcements