Пример #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);
 }
Пример #2
0
 public void MyMethodAsync(Client_WPF.MyServiceReference.ServiceJSONInput input)
 {
     this.MyMethodAsync(input, null);
 }
Пример #3
0
 public System.IAsyncResult BeginMyMethod(Client_WPF.MyServiceReference.ServiceJSONInput input, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginMyMethod(input, callback, asyncState));
 }
Пример #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));
 }
Пример #5
0
 public Client_WPF.MyServiceReference.ServiceJSONResult MyMethod(Client_WPF.MyServiceReference.ServiceJSONInput input)
 {
     return(base.Channel.MyMethod(input));
 }