public System.IAsyncResult BeginGetWeature(WindowsFormsClient.SampleSvc.GetWeatherRequest req, System.AsyncCallback callback, object asyncState) { WindowsFormsClient.SampleSvc.GetWeatureRequest inValue = new WindowsFormsClient.SampleSvc.GetWeatureRequest(); inValue.Body = new WindowsFormsClient.SampleSvc.GetWeatureRequestBody(); inValue.Body.req = req; return(((WindowsFormsClient.SampleSvc.SampleServiceSoap)(this)).BeginGetWeature(inValue, callback, asyncState)); }
public WindowsFormsClient.SampleSvc.GetWeatherResponse GetWeature(WindowsFormsClient.SampleSvc.GetWeatherRequest req) { WindowsFormsClient.SampleSvc.GetWeatureRequest inValue = new WindowsFormsClient.SampleSvc.GetWeatureRequest(); inValue.Body = new WindowsFormsClient.SampleSvc.GetWeatureRequestBody(); inValue.Body.req = req; WindowsFormsClient.SampleSvc.GetWeatureResponse retVal = ((WindowsFormsClient.SampleSvc.SampleServiceSoap)(this)).GetWeature(inValue); return(retVal.Body.GetWeatureResult); }
public void GetWeatureAsync(WindowsFormsClient.SampleSvc.GetWeatherRequest req, object userState) { if ((this.onBeginGetWeatureDelegate == null)) { this.onBeginGetWeatureDelegate = new BeginOperationDelegate(this.OnBeginGetWeature); } if ((this.onEndGetWeatureDelegate == null)) { this.onEndGetWeatureDelegate = new EndOperationDelegate(this.OnEndGetWeature); } if ((this.onGetWeatureCompletedDelegate == null)) { this.onGetWeatureCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetWeatureCompleted); } base.InvokeAsync(this.onBeginGetWeatureDelegate, new object[] { req }, this.onEndGetWeatureDelegate, this.onGetWeatureCompletedDelegate, userState); }
public void GetWeatureAsync(WindowsFormsClient.SampleSvc.GetWeatherRequest req) { this.GetWeatureAsync(req, null); }
private System.IAsyncResult OnBeginGetWeature(object[] inValues, System.AsyncCallback callback, object asyncState) { WindowsFormsClient.SampleSvc.GetWeatherRequest req = ((WindowsFormsClient.SampleSvc.GetWeatherRequest)(inValues[0])); return(this.BeginGetWeature(req, callback, asyncState)); }
public GetWeatureRequestBody(WindowsFormsClient.SampleSvc.GetWeatherRequest req) { this.req = req; }