コード例 #1
0
 private object[] OnEndGetPerson(System.IAsyncResult result)
 {
     SlvHanbaiClient.svcPerson.EntityPerson retVal = ((SlvHanbaiClient.svcPerson.svcPerson)(this)).EndGetPerson(result);
     return(new object[] {
         retVal
     });
 }
コード例 #2
0
        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));
        }
コード例 #3
0
 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);
 }
コード例 #4
0
 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);
 }
コード例 #5
0
 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);
 }
コード例 #6
0
 public void UpdatePersonAsync(string random, int type, long Id, SlvHanbaiClient.svcPerson.EntityPerson entity)
 {
     this.UpdatePersonAsync(random, type, Id, entity, null);
 }
コード例 #7
0
 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));
 }