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); }
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); }
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)); }
public void InsertDataAsync(ServiceConsumer.ServiceReference1.Student student) { this.InsertDataAsync(student, null); }
System.IAsyncResult ServiceConsumer.ServiceReference1.IService1.BeginInsertData(ServiceConsumer.ServiceReference1.Student student, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginInsertData(student, callback, asyncState)); }