private object[] OnEndGetPerson(System.IAsyncResult result) { SlvHanbaiClient.svcPerson.EntityPerson retVal = ((SlvHanbaiClient.svcPerson.svcPerson)(this)).EndGetPerson(result); return(new object[] { retVal }); }
private System.IAsyncResult OnBeginUpdatePerson(object[] inValues, System.AsyncCallback callback, object asyncState) { string random = ((string)(inValues[0])); int type = ((int)(inValues[1])); long Id = ((long)(inValues[2])); SlvHanbaiClient.svcPerson.EntityPerson entity = ((SlvHanbaiClient.svcPerson.EntityPerson)(inValues[3])); return(((SlvHanbaiClient.svcPerson.svcPerson)(this)).BeginUpdatePerson(random, type, Id, entity, callback, asyncState)); }
public System.IAsyncResult BeginUpdatePerson(string random, int type, long Id, SlvHanbaiClient.svcPerson.EntityPerson entity, System.AsyncCallback callback, object asyncState) { object[] _args = new object[4]; _args[0] = random; _args[1] = type; _args[2] = Id; _args[3] = entity; System.IAsyncResult _result = base.BeginInvoke("UpdatePerson", _args, callback, asyncState); return(_result); }
public void UpdatePersonAsync(string random, int type, long Id, SlvHanbaiClient.svcPerson.EntityPerson entity, object userState) { if ((this.onBeginUpdatePersonDelegate == null)) { this.onBeginUpdatePersonDelegate = new BeginOperationDelegate(this.OnBeginUpdatePerson); } if ((this.onEndUpdatePersonDelegate == null)) { this.onEndUpdatePersonDelegate = new EndOperationDelegate(this.OnEndUpdatePerson); } if ((this.onUpdatePersonCompletedDelegate == null)) { this.onUpdatePersonCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnUpdatePersonCompleted); } base.InvokeAsync(this.onBeginUpdatePersonDelegate, new object[] { random, type, Id, entity }, this.onEndUpdatePersonDelegate, this.onUpdatePersonCompletedDelegate, userState); }
public SlvHanbaiClient.svcPerson.EntityPerson EndGetPerson(System.IAsyncResult result) { object[] _args = new object[0]; SlvHanbaiClient.svcPerson.EntityPerson _result = ((SlvHanbaiClient.svcPerson.EntityPerson)(base.EndInvoke("GetPerson", _args, result))); return(_result); }
public void UpdatePersonAsync(string random, int type, long Id, SlvHanbaiClient.svcPerson.EntityPerson entity) { this.UpdatePersonAsync(random, type, Id, entity, null); }
System.IAsyncResult SlvHanbaiClient.svcPerson.svcPerson.BeginUpdatePerson(string random, int type, long Id, SlvHanbaiClient.svcPerson.EntityPerson entity, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginUpdatePerson(random, type, Id, entity, callback, asyncState)); }