private void Count()
        {
            TestContext context = new TestContext ();
            InvokeOperation<int> cnt = context.GetTest(UserID);
            cnt.Completed += new EventHandler(cnt_Completed);
        }

        void cnt_Completed(object sender, EventArgs e)
        {
            InvokeOperation<int> op = (InvokeOperation<int>)sender;
int value = op.Value;
        }

+ Recent posts