Example #1
0
 public void MyMethodAsync(Client_WPF.MyServiceReference.ServiceJSONInput input, object userState)
 {
     if ((this.onBeginMyMethodDelegate == null))
     {
         this.onBeginMyMethodDelegate = new BeginOperationDelegate(this.OnBeginMyMethod);
     }
     if ((this.onEndMyMethodDelegate == null))
     {
         this.onEndMyMethodDelegate = new EndOperationDelegate(this.OnEndMyMethod);
     }
     if ((this.onMyMethodCompletedDelegate == null))
     {
         this.onMyMethodCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnMyMethodCompleted);
     }
     base.InvokeAsync(this.onBeginMyMethodDelegate, new object[] {
         input
     }, this.onEndMyMethodDelegate, this.onMyMethodCompletedDelegate, userState);
 }
Example #2
0
 public void MyMethodAsync(Client_WPF.MyServiceReference.ServiceJSONInput input)
 {
     this.MyMethodAsync(input, null);
 }
Example #3
0
 public System.IAsyncResult BeginMyMethod(Client_WPF.MyServiceReference.ServiceJSONInput input, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginMyMethod(input, callback, asyncState));
 }
Example #4
0
 private System.IAsyncResult OnBeginMyMethod(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     Client_WPF.MyServiceReference.ServiceJSONInput input = ((Client_WPF.MyServiceReference.ServiceJSONInput)(inValues[0]));
     return(this.BeginMyMethod(input, callback, asyncState));
 }
Example #5
0
 public Client_WPF.MyServiceReference.ServiceJSONResult MyMethod(Client_WPF.MyServiceReference.ServiceJSONInput input)
 {
     return(base.Channel.MyMethod(input));
 }