search results

  1. Question: Is there a way to associate a CancellationToken with the Task returned from an async method? Generally, a Task will end up in the Cancelled state if an ...
    stackoverflow.com/questions/15257356/​associate-a... - Cached
  2. Associate a CancellationToken with an async method\'s Taks. 2. Multithreading - don\'t understand the situation. 0. Task.Wait Method (CancellationToken) question feed
    stackoverflow.com/...cancellationtoken-​in-the-taskfactory... - Cached
  3. ... cancellation with async method calls was implemented in ... of the CancellationTokenSource to cancel the task(s) that have the cancellation token ...
    weblogs.thinktecture.com/cnagel/2010/07/​cancellation... - Cached
  4. The main async method \"async Task Run() ... and so on up the chain. So, if you pass a cancellation token to a method whose returned task you then await, ...
    social.msdn.microsoft.com/Forums/en-ZW/​b536336f-812a ... - Cached
  5. The main async method \"async Task Run() ... and so on up the chain. So, if you pass a cancellation token to a method whose returned ta sk you then await, ...
    social.msdn.microsoft.com/Forums/en-PH/​async/thread/b... - Cached
  6. Async Task.Delay Internal code for ... (int millisecondsDelay, CancellationToken ... // Call the .Con tinueWith method to tell a task to do something when ...
    stevenhollidge.blogspot.com/2012/06/​async-taskdelay.html - Cached
  7. ... cancellation with async method calls was implemen ted in ... of the CancellationTokenSource to cancel the task(s) that have the cancellation token ...
    weblogs.thinktecture.com/cnagel/2010/07/​index.html - Cached
  8. The WhenAny method takes an argument that’s a collection of tasks. ... } // Provide a parameter for the CancellationToken. async Task AccessTheWebAsync ...
    msdn.microsoft.com/en-us/library/​vstudio/jj155758 - Cached
    More results from msdn.microsoft.com »
  9. ... Async Lab - Ex03 - Cancellation Token Instance ... call the Cancel method from the cancellation token. ... public static async Task<LinkInfo> DownloadItemAsync ...
    msdn.microsoft.com/en-us/downloads/​...asyncnet45_topic4.aspx - Cached
  10. ... and commits the transaction through the SaveChangesAsync extension method: public async Task DeleteAsync ... It takes a given id and a cancellation token, ...
    visualstudiomagazine.com/articles/2013/​07/23/async... - Cached