1
vote
1answer
190 views

Use and Understanding of async/await in .NET 4.5 +

All, please take the following example code CancellationTokenSource cancelSource; // Mark the event handler with async so you can use await in it. private async void StartButton_Click(object ...
1
vote
1answer
227 views

TPL Thread Leak and Memory Leak

I'm trying to track down what I suppose to be memory/thread leak in one of my programs. My program uses a function to upload a file to a Windows Azure Storage Blob. In order to make this function ...
2
votes
1answer
538 views

Correct approach to wait for multiple async methods to complete

I have an IWorkflow interface defined as follows: public interface IWorkflow { Task ConfigureAsync(); Task StartAsync(); Task StopAsync(); } And I have an Engine class: public sealed ...