Example #1
0
 public System.IAsyncResult BeginInsertData(ServiceConsumer.ServiceReference1.Student student, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[1];
     _args[0] = student;
     System.IAsyncResult _result = base.BeginInvoke("InsertData", _args, callback, asyncState);
     return(_result);
 }
Example #2
0
 public void InsertDataAsync(ServiceConsumer.ServiceReference1.Student student, object userState)
 {
     if ((this.onBeginInsertDataDelegate == null))
     {
         this.onBeginInsertDataDelegate = new BeginOperationDelegate(this.OnBeginInsertData);
     }
     if ((this.onEndInsertDataDelegate == null))
     {
         this.onEndInsertDataDelegate = new EndOperationDelegate(this.OnEndInsertData);
     }
     if ((this.onInsertDataCompletedDelegate == null))
     {
         this.onInsertDataCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnInsertDataCompleted);
     }
     base.InvokeAsync(this.onBeginInsertDataDelegate, new object[] {
         student
     }, this.onEndInsertDataDelegate, this.onInsertDataCompletedDelegate, userState);
 }
Example #3
0
 private System.IAsyncResult OnBeginInsertData(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     ServiceConsumer.ServiceReference1.Student student = ((ServiceConsumer.ServiceReference1.Student)(inValues[0]));
     return(((ServiceConsumer.ServiceReference1.IService1)(this)).BeginInsertData(student, callback, asyncState));
 }
Example #4
0
 public void InsertDataAsync(ServiceConsumer.ServiceReference1.Student student)
 {
     this.InsertDataAsync(student, null);
 }
Example #5
0
 System.IAsyncResult ServiceConsumer.ServiceReference1.IService1.BeginInsertData(ServiceConsumer.ServiceReference1.Student student, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginInsertData(student, callback, asyncState));
 }