コード例 #1
0
 public void InsertAsync(WebApplication3.ServiceReference1.InsertUser user, 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[] {
         user
     }, this.onEndInsertDelegate, this.onInsertCompletedDelegate, userState);
 }
コード例 #2
0
 public System.Threading.Tasks.Task <string> InsertAsync(WebApplication3.ServiceReference1.InsertUser user)
 {
     return(base.Channel.InsertAsync(user));
 }
コード例 #3
0
 public string Insert(WebApplication3.ServiceReference1.InsertUser user)
 {
     return(base.Channel.Insert(user));
 }
コード例 #4
0
 public void InsertAsync(WebApplication3.ServiceReference1.InsertUser user)
 {
     this.InsertAsync(user, null);
 }
コード例 #5
0
 private System.IAsyncResult OnBeginInsert(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     WebApplication3.ServiceReference1.InsertUser user = ((WebApplication3.ServiceReference1.InsertUser)(inValues[0]));
     return(this.BeginInsert(user, callback, asyncState));
 }
コード例 #6
0
 public System.IAsyncResult BeginInsert(WebApplication3.ServiceReference1.InsertUser user, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginInsert(user, callback, asyncState));
 }