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); }
public void MyMethodAsync(Client_WPF.MyServiceReference.ServiceJSONInput input) { this.MyMethodAsync(input, null); }
public System.IAsyncResult BeginMyMethod(Client_WPF.MyServiceReference.ServiceJSONInput input, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginMyMethod(input, callback, asyncState)); }
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)); }
public Client_WPF.MyServiceReference.ServiceJSONResult MyMethod(Client_WPF.MyServiceReference.ServiceJSONInput input) { return(base.Channel.MyMethod(input)); }