public System.IAsyncResult BeginGetWeather(webClientTestForm.WebServiceSample.GetWeatherRequest req, System.AsyncCallback callback, object asyncState) { webClientTestForm.WebServiceSample.GetWeatherRequest1 inValue = new webClientTestForm.WebServiceSample.GetWeatherRequest1(); inValue.Body = new webClientTestForm.WebServiceSample.GetWeatherRequest1Body(); inValue.Body.req = req; return(((webClientTestForm.WebServiceSample.WebService1Soap)(this)).BeginGetWeather(inValue, callback, asyncState)); }
public webClientTestForm.WebServiceSample.GetWeatherRespose GetWeather(webClientTestForm.WebServiceSample.GetWeatherRequest req) { webClientTestForm.WebServiceSample.GetWeatherRequest1 inValue = new webClientTestForm.WebServiceSample.GetWeatherRequest1(); inValue.Body = new webClientTestForm.WebServiceSample.GetWeatherRequest1Body(); inValue.Body.req = req; webClientTestForm.WebServiceSample.GetWeatherResponse retVal = ((webClientTestForm.WebServiceSample.WebService1Soap)(this)).GetWeather(inValue); return(retVal.Body.GetWeatherResult); }
public void GetWeatherAsync(webClientTestForm.WebServiceSample.GetWeatherRequest req, object userState) { if ((this.onBeginGetWeatherDelegate == null)) { this.onBeginGetWeatherDelegate = new BeginOperationDelegate(this.OnBeginGetWeather); } if ((this.onEndGetWeatherDelegate == null)) { this.onEndGetWeatherDelegate = new EndOperationDelegate(this.OnEndGetWeather); } if ((this.onGetWeatherCompletedDelegate == null)) { this.onGetWeatherCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetWeatherCompleted); } base.InvokeAsync(this.onBeginGetWeatherDelegate, new object[] { req }, this.onEndGetWeatherDelegate, this.onGetWeatherCompletedDelegate, userState); }
public void GetWeatherAsync(webClientTestForm.WebServiceSample.GetWeatherRequest req) { this.GetWeatherAsync(req, null); }
private System.IAsyncResult OnBeginGetWeather(object[] inValues, System.AsyncCallback callback, object asyncState) { webClientTestForm.WebServiceSample.GetWeatherRequest req = ((webClientTestForm.WebServiceSample.GetWeatherRequest)(inValues[0])); return(this.BeginGetWeather(req, callback, asyncState)); }
public GetWeatherRequest1Body(webClientTestForm.WebServiceSample.GetWeatherRequest req) { this.req = req; }