.NET Overview
class proxy { ... public System.IAsyncResult BeginDelay(System.AsyncCallback callback, object asyncState){ return this.BeginInvoke("Delay", new object[0], callback, asyncState); } public int EndDelay(System.IAsyncResult asyncResult){ object[] results = this.EndInvoke(asyncResult); return((int)(results[0])); } }
BeginDelay
. It returns an
object that allows us to check if the request has been done.10 of 11