/// <remarks/>
 public void saveTaskAsync(long cookie, CTask pTask, object userState) {
     if ((this.saveTaskOperationCompleted == null)) {
         this.saveTaskOperationCompleted = new System.Threading.SendOrPostCallback(this.OnsaveTaskOperationCompleted);
     }
     this.InvokeAsync("saveTask", new object[] {
                 cookie,
                 pTask}, this.saveTaskOperationCompleted, userState);
 }
 /// <remarks/>
 public void saveTaskAsync(long cookie, CTask pTask) {
     this.saveTaskAsync(cookie, pTask, null);
 }
 /// <remarks/>
 public void addTaskAsync(long cookie, CTask pTask) {
     this.addTaskAsync(cookie, pTask, null);
 }
 public int saveTask(long cookie, CTask pTask) {
     object[] results = this.Invoke("saveTask", new object[] {
                 cookie,
                 pTask});
     return ((int)(results[0]));
 }
 public long addTask(long cookie, CTask pTask) {
     object[] results = this.Invoke("addTask", new object[] {
                 cookie,
                 pTask});
     return ((long)(results[0]));
 }