Пример #1
0
            public IAsyncResult BeginAdd(int x, int y, AsyncCallback callback, object state)
            {
                Trace("Service.BeginAdd");
                IntDelegate theDelegate = new IntDelegate(this.AddDoWork);

                return(theDelegate.BeginInvoke(x, y, callback, state));
            }
Пример #2
0
 public IAsyncResult BeginAdd(int x, int y, AsyncCallback callback, object state)
 {
     Trace("Service.BeginAdd");
     IntDelegate theDelegate = new IntDelegate(this.AddDoWork);
     return theDelegate.BeginInvoke(x, y, callback, state);
 }