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); }
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); }
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)); }
public void InsertAsync(Assignment1.ServiceReference2.Payment p) { this.InsertAsync(p, null); }
System.IAsyncResult Assignment1.ServiceReference2.Service1.BeginInsert(Assignment1.ServiceReference2.Payment p, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginInsert(p, callback, asyncState)); }