//------------------------------------------------------------------------------
// <auto-generated>
//     此代码由工具生成。
//     运行时版本:2.0.50727.3615
//
//     对此文件的更改可能会导致不正确的行为，并且如果
//     重新生成代码，这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------

// 
// 此源代码是由 Microsoft.VSDesigner 2.0.50727.3615 版自动生成。
// 
#pragma warning disable 1591

namespace QQRobotInterface.cn.svnhost.web {
    using System.Diagnostics;
    using System.Web.Services;
    using System.ComponentModel;
    using System.Web.Services.Protocols;
    using System;
    using System.Xml.Serialization;
    
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="WebServiceSoap", Namespace="http://tempuri.org/")]
    public partial class WebService : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        private System.Threading.SendOrPostCallback MobileOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetUserIDOperationCompleted;
        
        private System.Threading.SendOrPostCallback GetIPOperationCompleted;
        
        private System.Threading.SendOrPostCallback HistoryOperationCompleted;
        
        private System.Threading.SendOrPostCallback WeatherOperationCompleted;
        
        private System.Threading.SendOrPostCallback StrConvTraditionalOperationCompleted;
        
        private System.Threading.SendOrPostCallback StrConvSimplifiedOperationCompleted;
        
        private System.Threading.SendOrPostCallback ZicodeOperationCompleted;
        
        private System.Threading.SendOrPostCallback wubiOperationCompleted;
        
        private System.Threading.SendOrPostCallback alexaOperationCompleted;
        
        private System.Threading.SendOrPostCallback baiduOperationCompleted;
        
        private System.Threading.SendOrPostCallback prOperationCompleted;
        
        private System.Threading.SendOrPostCallback googleOperationCompleted;
        
        private System.Threading.SendOrPostCallback jokeOperationCompleted;
        
        private bool useDefaultCredentialsSetExplicitly;
        
        /// <remarks/>
        public WebService() {
            this.Url = global::QQRobotInterface.Properties.Settings.Default.QQRobotInterface_cn_svnhost_web_WebService;
            if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
                this.UseDefaultCredentials = true;
                this.useDefaultCredentialsSetExplicitly = false;
            }
            else {
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
        
        public new string Url {
            get {
                return base.Url;
            }
            set {
                if ((((this.IsLocalFileSystemWebService(base.Url) == true) 
                            && (this.useDefaultCredentialsSetExplicitly == false)) 
                            && (this.IsLocalFileSystemWebService(value) == false))) {
                    base.UseDefaultCredentials = false;
                }
                base.Url = value;
            }
        }
        
        public new bool UseDefaultCredentials {
            get {
                return base.UseDefaultCredentials;
            }
            set {
                base.UseDefaultCredentials = value;
                this.useDefaultCredentialsSetExplicitly = true;
            }
        }
        
        /// <remarks/>
        public event MobileCompletedEventHandler MobileCompleted;
        
        /// <remarks/>
        public event GetUserIDCompletedEventHandler GetUserIDCompleted;
        
        /// <remarks/>
        public event GetIPCompletedEventHandler GetIPCompleted;
        
        /// <remarks/>
        public event HistoryCompletedEventHandler HistoryCompleted;
        
        /// <remarks/>
        public event WeatherCompletedEventHandler WeatherCompleted;
        
        /// <remarks/>
        public event StrConvTraditionalCompletedEventHandler StrConvTraditionalCompleted;
        
        /// <remarks/>
        public event StrConvSimplifiedCompletedEventHandler StrConvSimplifiedCompleted;
        
        /// <remarks/>
        public event ZicodeCompletedEventHandler ZicodeCompleted;
        
        /// <remarks/>
        public event wubiCompletedEventHandler wubiCompleted;
        
        /// <remarks/>
        public event alexaCompletedEventHandler alexaCompleted;
        
        /// <remarks/>
        public event baiduCompletedEventHandler baiduCompleted;
        
        /// <remarks/>
        public event prCompletedEventHandler prCompleted;
        
        /// <remarks/>
        public event googleCompletedEventHandler googleCompleted;
        
        /// <remarks/>
        public event jokeCompletedEventHandler jokeCompleted;
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Mobile", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string Mobile([System.Xml.Serialization.XmlElementAttribute("mobile")] string mobile1) {
            object[] results = this.Invoke("Mobile", new object[] {
                        mobile1});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void MobileAsync(string mobile1) {
            this.MobileAsync(mobile1, null);
        }
        
        /// <remarks/>
        public void MobileAsync(string mobile1, object userState) {
            if ((this.MobileOperationCompleted == null)) {
                this.MobileOperationCompleted = new System.Threading.SendOrPostCallback(this.OnMobileOperationCompleted);
            }
            this.InvokeAsync("Mobile", new object[] {
                        mobile1}, this.MobileOperationCompleted, userState);
        }
        
        private void OnMobileOperationCompleted(object arg) {
            if ((this.MobileCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.MobileCompleted(this, new MobileCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetUserID", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string GetUserID(string number) {
            object[] results = this.Invoke("GetUserID", new object[] {
                        number});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void GetUserIDAsync(string number) {
            this.GetUserIDAsync(number, null);
        }
        
        /// <remarks/>
        public void GetUserIDAsync(string number, object userState) {
            if ((this.GetUserIDOperationCompleted == null)) {
                this.GetUserIDOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetUserIDOperationCompleted);
            }
            this.InvokeAsync("GetUserID", new object[] {
                        number}, this.GetUserIDOperationCompleted, userState);
        }
        
        private void OnGetUserIDOperationCompleted(object arg) {
            if ((this.GetUserIDCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetUserIDCompleted(this, new GetUserIDCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetIP", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string GetIP(string ip) {
            object[] results = this.Invoke("GetIP", new object[] {
                        ip});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void GetIPAsync(string ip) {
            this.GetIPAsync(ip, null);
        }
        
        /// <remarks/>
        public void GetIPAsync(string ip, object userState) {
            if ((this.GetIPOperationCompleted == null)) {
                this.GetIPOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetIPOperationCompleted);
            }
            this.InvokeAsync("GetIP", new object[] {
                        ip}, this.GetIPOperationCompleted, userState);
        }
        
        private void OnGetIPOperationCompleted(object arg) {
            if ((this.GetIPCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.GetIPCompleted(this, new GetIPCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/History", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string History() {
            object[] results = this.Invoke("History", new object[0]);
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void HistoryAsync() {
            this.HistoryAsync(null);
        }
        
        /// <remarks/>
        public void HistoryAsync(object userState) {
            if ((this.HistoryOperationCompleted == null)) {
                this.HistoryOperationCompleted = new System.Threading.SendOrPostCallback(this.OnHistoryOperationCompleted);
            }
            this.InvokeAsync("History", new object[0], this.HistoryOperationCompleted, userState);
        }
        
        private void OnHistoryOperationCompleted(object arg) {
            if ((this.HistoryCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.HistoryCompleted(this, new HistoryCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Weather", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string Weather(string city) {
            object[] results = this.Invoke("Weather", new object[] {
                        city});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void WeatherAsync(string city) {
            this.WeatherAsync(city, null);
        }
        
        /// <remarks/>
        public void WeatherAsync(string city, object userState) {
            if ((this.WeatherOperationCompleted == null)) {
                this.WeatherOperationCompleted = new System.Threading.SendOrPostCallback(this.OnWeatherOperationCompleted);
            }
            this.InvokeAsync("Weather", new object[] {
                        city}, this.WeatherOperationCompleted, userState);
        }
        
        private void OnWeatherOperationCompleted(object arg) {
            if ((this.WeatherCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.WeatherCompleted(this, new WeatherCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/StrConvTraditional", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string StrConvTraditional(string str) {
            object[] results = this.Invoke("StrConvTraditional", new object[] {
                        str});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void StrConvTraditionalAsync(string str) {
            this.StrConvTraditionalAsync(str, null);
        }
        
        /// <remarks/>
        public void StrConvTraditionalAsync(string str, object userState) {
            if ((this.StrConvTraditionalOperationCompleted == null)) {
                this.StrConvTraditionalOperationCompleted = new System.Threading.SendOrPostCallback(this.OnStrConvTraditionalOperationCompleted);
            }
            this.InvokeAsync("StrConvTraditional", new object[] {
                        str}, this.StrConvTraditionalOperationCompleted, userState);
        }
        
        private void OnStrConvTraditionalOperationCompleted(object arg) {
            if ((this.StrConvTraditionalCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.StrConvTraditionalCompleted(this, new StrConvTraditionalCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/StrConvSimplified", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string StrConvSimplified(string str) {
            object[] results = this.Invoke("StrConvSimplified", new object[] {
                        str});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void StrConvSimplifiedAsync(string str) {
            this.StrConvSimplifiedAsync(str, null);
        }
        
        /// <remarks/>
        public void StrConvSimplifiedAsync(string str, object userState) {
            if ((this.StrConvSimplifiedOperationCompleted == null)) {
                this.StrConvSimplifiedOperationCompleted = new System.Threading.SendOrPostCallback(this.OnStrConvSimplifiedOperationCompleted);
            }
            this.InvokeAsync("StrConvSimplified", new object[] {
                        str}, this.StrConvSimplifiedOperationCompleted, userState);
        }
        
        private void OnStrConvSimplifiedOperationCompleted(object arg) {
            if ((this.StrConvSimplifiedCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.StrConvSimplifiedCompleted(this, new StrConvSimplifiedCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Zicode", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string Zicode(string str) {
            object[] results = this.Invoke("Zicode", new object[] {
                        str});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void ZicodeAsync(string str) {
            this.ZicodeAsync(str, null);
        }
        
        /// <remarks/>
        public void ZicodeAsync(string str, object userState) {
            if ((this.ZicodeOperationCompleted == null)) {
                this.ZicodeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnZicodeOperationCompleted);
            }
            this.InvokeAsync("Zicode", new object[] {
                        str}, this.ZicodeOperationCompleted, userState);
        }
        
        private void OnZicodeOperationCompleted(object arg) {
            if ((this.ZicodeCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.ZicodeCompleted(this, new ZicodeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/wubi", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string wubi(string str) {
            object[] results = this.Invoke("wubi", new object[] {
                        str});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void wubiAsync(string str) {
            this.wubiAsync(str, null);
        }
        
        /// <remarks/>
        public void wubiAsync(string str, object userState) {
            if ((this.wubiOperationCompleted == null)) {
                this.wubiOperationCompleted = new System.Threading.SendOrPostCallback(this.OnwubiOperationCompleted);
            }
            this.InvokeAsync("wubi", new object[] {
                        str}, this.wubiOperationCompleted, userState);
        }
        
        private void OnwubiOperationCompleted(object arg) {
            if ((this.wubiCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.wubiCompleted(this, new wubiCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/alexa", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string alexa(string host) {
            object[] results = this.Invoke("alexa", new object[] {
                        host});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void alexaAsync(string host) {
            this.alexaAsync(host, null);
        }
        
        /// <remarks/>
        public void alexaAsync(string host, object userState) {
            if ((this.alexaOperationCompleted == null)) {
                this.alexaOperationCompleted = new System.Threading.SendOrPostCallback(this.OnalexaOperationCompleted);
            }
            this.InvokeAsync("alexa", new object[] {
                        host}, this.alexaOperationCompleted, userState);
        }
        
        private void OnalexaOperationCompleted(object arg) {
            if ((this.alexaCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.alexaCompleted(this, new alexaCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/baidu", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string baidu(string host) {
            object[] results = this.Invoke("baidu", new object[] {
                        host});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void baiduAsync(string host) {
            this.baiduAsync(host, null);
        }
        
        /// <remarks/>
        public void baiduAsync(string host, object userState) {
            if ((this.baiduOperationCompleted == null)) {
                this.baiduOperationCompleted = new System.Threading.SendOrPostCallback(this.OnbaiduOperationCompleted);
            }
            this.InvokeAsync("baidu", new object[] {
                        host}, this.baiduOperationCompleted, userState);
        }
        
        private void OnbaiduOperationCompleted(object arg) {
            if ((this.baiduCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.baiduCompleted(this, new baiduCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/pr", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string pr(string host) {
            object[] results = this.Invoke("pr", new object[] {
                        host});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void prAsync(string host) {
            this.prAsync(host, null);
        }
        
        /// <remarks/>
        public void prAsync(string host, object userState) {
            if ((this.prOperationCompleted == null)) {
                this.prOperationCompleted = new System.Threading.SendOrPostCallback(this.OnprOperationCompleted);
            }
            this.InvokeAsync("pr", new object[] {
                        host}, this.prOperationCompleted, userState);
        }
        
        private void OnprOperationCompleted(object arg) {
            if ((this.prCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.prCompleted(this, new prCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/google", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string google(string host) {
            object[] results = this.Invoke("google", new object[] {
                        host});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void googleAsync(string host) {
            this.googleAsync(host, null);
        }
        
        /// <remarks/>
        public void googleAsync(string host, object userState) {
            if ((this.googleOperationCompleted == null)) {
                this.googleOperationCompleted = new System.Threading.SendOrPostCallback(this.OngoogleOperationCompleted);
            }
            this.InvokeAsync("google", new object[] {
                        host}, this.googleOperationCompleted, userState);
        }
        
        private void OngoogleOperationCompleted(object arg) {
            if ((this.googleCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.googleCompleted(this, new googleCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/joke", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public string joke() {
            object[] results = this.Invoke("joke", new object[0]);
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public void jokeAsync() {
            this.jokeAsync(null);
        }
        
        /// <remarks/>
        public void jokeAsync(object userState) {
            if ((this.jokeOperationCompleted == null)) {
                this.jokeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnjokeOperationCompleted);
            }
            this.InvokeAsync("joke", new object[0], this.jokeOperationCompleted, userState);
        }
        
        private void OnjokeOperationCompleted(object arg) {
            if ((this.jokeCompleted != null)) {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.jokeCompleted(this, new jokeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }
        
        /// <remarks/>
        public new void CancelAsync(object userState) {
            base.CancelAsync(userState);
        }
        
        private bool IsLocalFileSystemWebService(string url) {
            if (((url == null) 
                        || (url == string.Empty))) {
                return false;
            }
            System.Uri wsUri = new System.Uri(url);
            if (((wsUri.Port >= 1024) 
                        && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
                return true;
            }
            return false;
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    public delegate void MobileCompletedEventHandler(object sender, MobileCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class MobileCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal MobileCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    public delegate void GetUserIDCompletedEventHandler(object sender, GetUserIDCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetUserIDCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetUserIDCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    public delegate void GetIPCompletedEventHandler(object sender, GetIPCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class GetIPCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal GetIPCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    public delegate void HistoryCompletedEventHandler(object sender, HistoryCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class HistoryCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal HistoryCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    public delegate void WeatherCompletedEventHandler(object sender, WeatherCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class WeatherCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal WeatherCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    public delegate void StrConvTraditionalCompletedEventHandler(object sender, StrConvTraditionalCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class StrConvTraditionalCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal StrConvTraditionalCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    public delegate void StrConvSimplifiedCompletedEventHandler(object sender, StrConvSimplifiedCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class StrConvSimplifiedCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal StrConvSimplifiedCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    public delegate void ZicodeCompletedEventHandler(object sender, ZicodeCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class ZicodeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal ZicodeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    public delegate void wubiCompletedEventHandler(object sender, wubiCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class wubiCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal wubiCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    public delegate void alexaCompletedEventHandler(object sender, alexaCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class alexaCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal alexaCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    public delegate void baiduCompletedEventHandler(object sender, baiduCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class baiduCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal baiduCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    public delegate void prCompletedEventHandler(object sender, prCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class prCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal prCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    public delegate void googleCompletedEventHandler(object sender, googleCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class googleCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal googleCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    public delegate void jokeCompletedEventHandler(object sender, jokeCompletedEventArgs e);
    
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "2.0.50727.3053")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class jokeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
        
        private object[] results;
        
        internal jokeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
                base(exception, cancelled, userState) {
            this.results = results;
        }
        
        /// <remarks/>
        public string Result {
            get {
                this.RaiseExceptionIfNecessary();
                return ((string)(this.results[0]));
            }
        }
    }
}

#pragma warning restore 1591