.NET Overview

Asynchronous Invocation

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]));
  }
}

José M. Vidal .

10 of 11