public System.IAsyncResult BeginConversionRate(Length_Converter.ConverterService.Currency FromCurrency, Length_Converter.ConverterService.Currency ToCurrency, System.AsyncCallback callback, object asyncState) { object[] _args = new object[2]; _args[0] = FromCurrency; _args[1] = ToCurrency; System.IAsyncResult _result = base.BeginInvoke("ConversionRate", _args, callback, asyncState); return(_result); }
public void ConversionRateAsync(Length_Converter.ConverterService.Currency FromCurrency, Length_Converter.ConverterService.Currency ToCurrency, object userState) { if ((this.onBeginConversionRateDelegate == null)) { this.onBeginConversionRateDelegate = new BeginOperationDelegate(this.OnBeginConversionRate); } if ((this.onEndConversionRateDelegate == null)) { this.onEndConversionRateDelegate = new EndOperationDelegate(this.OnEndConversionRate); } if ((this.onConversionRateCompletedDelegate == null)) { this.onConversionRateCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnConversionRateCompleted); } base.InvokeAsync(this.onBeginConversionRateDelegate, new object[] { FromCurrency, ToCurrency }, this.onEndConversionRateDelegate, this.onConversionRateCompletedDelegate, userState); }
private System.IAsyncResult OnBeginConversionRate(object[] inValues, System.AsyncCallback callback, object asyncState) { Length_Converter.ConverterService.Currency FromCurrency = ((Length_Converter.ConverterService.Currency)(inValues[0])); Length_Converter.ConverterService.Currency ToCurrency = ((Length_Converter.ConverterService.Currency)(inValues[1])); return(((Length_Converter.ConverterService.CurrencyConvertorSoap)(this)).BeginConversionRate(FromCurrency, ToCurrency, callback, asyncState)); }
public void ConversionRateAsync(Length_Converter.ConverterService.Currency FromCurrency, Length_Converter.ConverterService.Currency ToCurrency) { this.ConversionRateAsync(FromCurrency, ToCurrency, null); }
System.IAsyncResult Length_Converter.ConverterService.CurrencyConvertorSoap.BeginConversionRate(Length_Converter.ConverterService.Currency FromCurrency, Length_Converter.ConverterService.Currency ToCurrency, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginConversionRate(FromCurrency, ToCurrency, callback, asyncState)); }