No announcements
Found 2264223 threads
-
0 Votes
Async await, prioritize requests
also is set to run async with the "await" keyword it will be added last on the list and not run until the first 120 async requests are ...Answered | 4 Replies | 8089 Views | Created by Smartsasse - Friday, January 31, 2014 2:31 PM | Last reply by davidbaxterbrowne - Monday, February 3, 2014 8:23 PM -
1 Votes
Async await not returning
now get a task back. It has 2 choices, it can either await on the task or continue without waiting (the common case with a void event handler). But your async method will ...Answered | 4 Replies | 12923 Views | Created by Eric Jalbert - Monday, January 30, 2017 9:38 AM | Last reply by Eric Jalbert - Tuesday, January 31, 2017 7:53 AM -
0 Votes
Async Await usage
other small things that help a lot. actually i don't know since what version Async and await were added and how developers deal with asynchronous tasks ...Answered | 8 Replies | 678 Views | Created by JuanC_LopGar97 - Tuesday, July 21, 2020 11:48 PM | Last reply by JuanC_LopGar97 - Thursday, July 23, 2020 2:56 AM -
0 Votes
async await... get lost...
Async CTP didn't install correctly. Are the "async" and "await" keywords getting correctly color coded in the IDE in blue as other ...Answered | 1 Replies | 7057 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 -
2 Votes
Producer-Consumer with TPL and async/await
Hi, I'm trying to build a simple producer/consumer pattern using TPL and async/await. I don't need multi-threading because the actual work to be ...Answered | 2 Replies | 3868 Views | Created by Ido Ran - Saturday, February 9, 2013 3:52 PM | Last reply by Ido Ran - Saturday, February 9, 2013 7:13 PM -
2 Votes
Task await, async
operation is completed, continue to execute the logic under AwaitTaskAsynAsync. About Asynchronous programming with async and await, you can take a ...Answered | 4 Replies | 437 Views | Created by Markus Freitag - Tuesday, January 22, 2019 5:14 PM | Last reply by Cherry Bu - Thursday, January 24, 2019 1:33 AM -
0 Votes
Async Await SmoApplication.EnumAvailableSqlServers
Is it possible to async Await in c# to fetch a list of servers and keep the UI active. I have tried something like this: async ...Answered | 1 Replies | 634 Views | Created by Izeko - Wednesday, October 15, 2014 1:50 PM | Last reply by Welly MP Tambunan - Wednesday, October 15, 2014 3:03 PM -
0 Votes
ASYNC/AWAIT Interactions with a Web Page
they are all separate from each other. You can't interleave them with Async/Await. First, there is the context of the client browser. If this is ...Answered | 2 Replies | 4627 Views | Created by SammyD - Wednesday, December 7, 2011 3:03 PM | Last reply by Stephen Cleary - Wednesday, December 7, 2011 6:42 PM -
10 Votes
await async task
that deal with what you want to achieve. 1) https://stackoverflow.com/questionsAnswered | 26 Replies | 2255 Views | Created by Markus Freitag - Tuesday, March 27, 2018 4:30 PM | Last reply by Konstantinos pap - Tuesday, April 10, 2018 7:36 PM -
3 Votes
async/await with Powershell and C#
Hi , Is there a way to use the new await/async feature with powershell. There is some async method in the ...Answered | 3 Replies | 8582 Views | Created by mfo_ismi - Friday, December 28, 2012 2:46 PM | Last reply by highdownts - Sunday, January 28, 2018 6:07 PM -
1 Votes
Have an async/await block
executes on the calling thread while I am awaiting this method. I need a way to block the tread while awaiting. Since the Async/Await pattern allows other code to ...Answered | 3 Replies | 4162 Views | Created by Perry Manole - Tuesday, December 25, 2012 1:25 PM | Last reply by svick - Tuesday, January 1, 2013 3:24 PM -
0 Votes
C# async await confusion
Syed, Thanks for the reply. I want to try & learn async & await, I have the below test code but get a file in use ...Answered | 4 Replies | 1111 Views | Created by pr_wainwright - Monday, May 19, 2014 9:22 AM | Last reply by pr_wainwright - Monday, May 19, 2014 2:22 PM -
2 Votes
async/await works occasionally synchronously
, in an async method, should be done asynchronously - ie: use await Task.Delay(5000); instead of Thread.Sleep(). If you had that using await, you'd get the same ...Answered | 2 Replies | 3446 Views | Created by Konstantin Lepeshenkov - Wednesday, January 23, 2013 8:22 PM | Last reply by Konstantin Lepeshenkov - Thursday, January 24, 2013 8:25 AM -
2 Votes
EWS + Async/Await
async/await pattern. The service is polling the Microsoft Exchange Server a lot via the use ofAnswered | 4 Replies | 4784 Views | Created by Fabian Wohlschläger - Friday, February 6, 2015 12:47 PM | Last reply by Fabian Wohlschläger - Tuesday, February 10, 2015 6:32 PM -
0 Votes
Redundant Async/Await
Hello Everyone Can someone point me right direction on how to identify redundant usage of async/await? ThanksAnswered | 1 Replies | 480 Views | Created by WPF_Dev - Monday, February 19, 2018 8:09 PM | Last reply by Kareninstructor - Monday, February 19, 2018 10:18 PM -
0 Votes
Multibinding converter async/await method
https://www.nuget.org/packages/Nito.AsyncEx/ The following two threads should also be helpful: Async await in MVVM XAML ApplicationsAnswered | 2 Replies | 1636 Views | Created by Stefano74 - Thursday, April 21, 2016 10:38 AM | Last reply by Magnus (MM8) - Thursday, April 21, 2016 7:29 PM -
1 Votes
Async and await
function as a task with async and await.. help pls ...i need to use await for the App.Data2 = userprofile.innertext; this one ...Answered | 5 Replies | 813 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
async await not working properly
public async Task<string> DataAsync() { await Task.Delay(10000); return "Hello"; } private ...Answered | 4 Replies | 3743 Views | Created by Sudip_inn - Friday, March 9, 2018 3:07 PM | Last reply by Fei Hu - Monday, March 12, 2018 8:39 AM -
2 Votes
async and await in c#
if the method returns Task then yes you can directly using async and await without wrapping it in Task.Run. AnyAnswered | 3 Replies | 442 Views | Created by ankurastogi - Tuesday, May 30, 2017 2:56 PM | Last reply by Ehsan Sajjad - Wednesday, May 31, 2017 1:30 PM -
2 Votes
async Task await - return object
(); AssemblyNumber result = await help.GetRequest(CurrentSettings.UriBaseAdress, CurrentSettings.UriWebRequest, Request_timeoutField); } In C# ...Answered | 4 Replies | 2477 Views | Created by Markus Freitag - Tuesday, January 23, 2018 5:47 PM | Last reply by Fei Hu - Thursday, January 25, 2018 8:49 AM
No announcements