Esempio n. 1
0
 public System.IAsyncResult BeginInsert(Assignment1.ServiceReference2.Payment p, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[1];
     _args[0] = p;
     System.IAsyncResult _result = base.BeginInvoke("Insert", _args, callback, asyncState);
     return(_result);
 }
Esempio n. 2
0
 public void InsertAsync(Assignment1.ServiceReference2.Payment p, object userState)
 {
     if ((this.onBeginInsertDelegate == null))
     {
         this.onBeginInsertDelegate = new BeginOperationDelegate(this.OnBeginInsert);
     }
     if ((this.onEndInsertDelegate == null))
     {
         this.onEndInsertDelegate = new EndOperationDelegate(this.OnEndInsert);
     }
     if ((this.onInsertCompletedDelegate == null))
     {
         this.onInsertCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnInsertCompleted);
     }
     base.InvokeAsync(this.onBeginInsertDelegate, new object[] {
         p
     }, this.onEndInsertDelegate, this.onInsertCompletedDelegate, userState);
 }
Esempio n. 3
0
 private System.IAsyncResult OnBeginInsert(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     Assignment1.ServiceReference2.Payment p = ((Assignment1.ServiceReference2.Payment)(inValues[0]));
     return(((Assignment1.ServiceReference2.Service1)(this)).BeginInsert(p, callback, asyncState));
 }
Esempio n. 4
0
 public void InsertAsync(Assignment1.ServiceReference2.Payment p)
 {
     this.InsertAsync(p, null);
 }
Esempio n. 5
0
 System.IAsyncResult Assignment1.ServiceReference2.Service1.BeginInsert(Assignment1.ServiceReference2.Payment p, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginInsert(p, callback, asyncState));
 }