private object[] OnEndGetUser(System.IAsyncResult result) { SlvHanbaiClient.svcUser.EntityUser retVal = ((SlvHanbaiClient.svcUser.svcUser)(this)).EndGetUser(result); return(new object[] { retVal }); }
private System.IAsyncResult OnBeginUpdateUser(object[] inValues, System.AsyncCallback callback, object asyncState) { string random = ((string)(inValues[0])); int type = ((int)(inValues[1])); long Id = ((long)(inValues[2])); SlvHanbaiClient.svcUser.EntityUser entity = ((SlvHanbaiClient.svcUser.EntityUser)(inValues[3])); return(((SlvHanbaiClient.svcUser.svcUser)(this)).BeginUpdateUser(random, type, Id, entity, callback, asyncState)); }
public System.IAsyncResult BeginUpdateUser(string random, int type, long Id, SlvHanbaiClient.svcUser.EntityUser 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("UpdateUser", _args, callback, asyncState); return(_result); }
public void UpdateUserAsync(string random, int type, long Id, SlvHanbaiClient.svcUser.EntityUser entity, object userState) { if ((this.onBeginUpdateUserDelegate == null)) { this.onBeginUpdateUserDelegate = new BeginOperationDelegate(this.OnBeginUpdateUser); } if ((this.onEndUpdateUserDelegate == null)) { this.onEndUpdateUserDelegate = new EndOperationDelegate(this.OnEndUpdateUser); } if ((this.onUpdateUserCompletedDelegate == null)) { this.onUpdateUserCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnUpdateUserCompleted); } base.InvokeAsync(this.onBeginUpdateUserDelegate, new object[] { random, type, Id, entity }, this.onEndUpdateUserDelegate, this.onUpdateUserCompletedDelegate, userState); }
public SlvHanbaiClient.svcUser.EntityUser EndGetUser(System.IAsyncResult result) { object[] _args = new object[0]; SlvHanbaiClient.svcUser.EntityUser _result = ((SlvHanbaiClient.svcUser.EntityUser)(base.EndInvoke("GetUser", _args, result))); return(_result); }
public void UpdateUserAsync(string random, int type, long Id, SlvHanbaiClient.svcUser.EntityUser entity) { this.UpdateUserAsync(random, type, Id, entity, null); }
System.IAsyncResult SlvHanbaiClient.svcUser.svcUser.BeginUpdateUser(string random, int type, long Id, SlvHanbaiClient.svcUser.EntityUser entity, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginUpdateUser(random, type, Id, entity, callback, asyncState)); }