If I interpret the question correctly, it sounds like you are simply using .NET 4.0; Task.Delay was added in .NET 4.5. You can either add your own implementation using something like a system timer callback and a TaskCompletionSource, or: just update to .NET 4.5