public void CountdownTimerTest()
        {
            this._timer = _defaultTimerQueue.CreateTimer(_timerCallback, "DATA");

            while (this._timer.HasExpired == false)
            {
                Thread.Sleep(5);
            }

            Assert.IsTrue(this._timer.HasExpired);
        }
 public static void TimerCallback(CancellationTimer timer, int timeNoticed, object context)
 {
     Assert.IsTrue(timer.HasExpired);
     Assert.IsTrue(context.ToString() == "DATA");
 }