Beispiel #1
0
        static void CallbackMethod(IAsyncResult ar)
        {
            // Retrieve the delegate.
            RemoveItemCallback caller = (RemoveItemCallback)ar.AsyncState;

            // Call EndInvoke to retrieve the results.
            caller.EndInvoke(ar);

            //Console.WriteLine("The call executed return value \"{0}\".", returnValue);
        }