//------------------------------------------------------------------------------ // // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ // // 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。 // #pragma warning disable 1591 namespace WebService.WebReference { using System; using System.Web.Services; using System.Diagnostics; using System.Web.Services.Protocols; using System.Xml.Serialization; using System.ComponentModel; /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Web.Services.WebServiceBindingAttribute(Name="JsonServiceSoap", Namespace="http://tempuri.org/")] public partial class JsonService : System.Web.Services.Protocols.SoapHttpClientProtocol { private System.Threading.SendOrPostCallback GetVerOperationCompleted; private System.Threading.SendOrPostCallback WriteLogOperationCompleted; private System.Threading.SendOrPostCallback LoginOperationCompleted; private System.Threading.SendOrPostCallback LogoutOperationCompleted; private System.Threading.SendOrPostCallback ModifyPasswordOperationCompleted; private System.Threading.SendOrPostCallback GetServerTimeOperationCompleted; private System.Threading.SendOrPostCallback DecryptOperationCompleted; private System.Threading.SendOrPostCallback EncryptOperationCompleted; private System.Threading.SendOrPostCallback GetCountOperationCompleted; private System.Threading.SendOrPostCallback GetDataOperationCompleted; private System.Threading.SendOrPostCallback AddDataOperationCompleted; private System.Threading.SendOrPostCallback UpdateDataOperationCompleted; private System.Threading.SendOrPostCallback SaveSeqencingOperationCompleted; private System.Threading.SendOrPostCallback AddMutualDataOperationCompleted; private System.Threading.SendOrPostCallback ReceiveProductsOperationCompleted; private bool useDefaultCredentialsSetExplicitly; /// public JsonService() { this.Url = global::WebService.Properties.Settings.Default.WebService_WebReference_JsonService; 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; } } /// public event GetVerCompletedEventHandler GetVerCompleted; /// public event WriteLogCompletedEventHandler WriteLogCompleted; /// public event LoginCompletedEventHandler LoginCompleted; /// public event LogoutCompletedEventHandler LogoutCompleted; /// public event ModifyPasswordCompletedEventHandler ModifyPasswordCompleted; /// public event GetServerTimeCompletedEventHandler GetServerTimeCompleted; /// public event DecryptCompletedEventHandler DecryptCompleted; /// public event EncryptCompletedEventHandler EncryptCompleted; /// public event GetCountCompletedEventHandler GetCountCompleted; /// public event GetDataCompletedEventHandler GetDataCompleted; /// public event AddDataCompletedEventHandler AddDataCompleted; /// public event UpdateDataCompletedEventHandler UpdateDataCompleted; /// public event SaveSeqencingCompletedEventHandler SaveSeqencingCompleted; /// public event AddMutualDataCompletedEventHandler AddMutualDataCompleted; /// public event ReceiveProductsCompletedEventHandler ReceiveProductsCompleted; /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetVer", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string GetVer() { object[] results = this.Invoke("GetVer", new object[0]); return ((string)(results[0])); } /// public void GetVerAsync() { this.GetVerAsync(null); } /// public void GetVerAsync(object userState) { if ((this.GetVerOperationCompleted == null)) { this.GetVerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetVerOperationCompleted); } this.InvokeAsync("GetVer", new object[0], this.GetVerOperationCompleted, userState); } private void OnGetVerOperationCompleted(object arg) { if ((this.GetVerCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetVerCompleted(this, new GetVerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/WriteLog", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string WriteLog(string operCode, string function, string message) { object[] results = this.Invoke("WriteLog", new object[] { operCode, function, message}); return ((string)(results[0])); } /// public void WriteLogAsync(string operCode, string function, string message) { this.WriteLogAsync(operCode, function, message, null); } /// public void WriteLogAsync(string operCode, string function, string message, object userState) { if ((this.WriteLogOperationCompleted == null)) { this.WriteLogOperationCompleted = new System.Threading.SendOrPostCallback(this.OnWriteLogOperationCompleted); } this.InvokeAsync("WriteLog", new object[] { operCode, function, message}, this.WriteLogOperationCompleted, userState); } private void OnWriteLogOperationCompleted(object arg) { if ((this.WriteLogCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.WriteLogCompleted(this, new WriteLogCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Login", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string Login(string operCode, string password) { object[] results = this.Invoke("Login", new object[] { operCode, password}); return ((string)(results[0])); } /// public void LoginAsync(string operCode, string password) { this.LoginAsync(operCode, password, null); } /// public void LoginAsync(string operCode, string password, object userState) { if ((this.LoginOperationCompleted == null)) { this.LoginOperationCompleted = new System.Threading.SendOrPostCallback(this.OnLoginOperationCompleted); } this.InvokeAsync("Login", new object[] { operCode, password}, this.LoginOperationCompleted, userState); } private void OnLoginOperationCompleted(object arg) { if ((this.LoginCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.LoginCompleted(this, new LoginCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Logout", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string Logout(string operCode) { object[] results = this.Invoke("Logout", new object[] { operCode}); return ((string)(results[0])); } /// public void LogoutAsync(string operCode) { this.LogoutAsync(operCode, null); } /// public void LogoutAsync(string operCode, object userState) { if ((this.LogoutOperationCompleted == null)) { this.LogoutOperationCompleted = new System.Threading.SendOrPostCallback(this.OnLogoutOperationCompleted); } this.InvokeAsync("Logout", new object[] { operCode}, this.LogoutOperationCompleted, userState); } private void OnLogoutOperationCompleted(object arg) { if ((this.LogoutCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.LogoutCompleted(this, new LogoutCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ModifyPassword", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string ModifyPassword(string operCode, string oldPass, string newPass) { object[] results = this.Invoke("ModifyPassword", new object[] { operCode, oldPass, newPass}); return ((string)(results[0])); } /// public void ModifyPasswordAsync(string operCode, string oldPass, string newPass) { this.ModifyPasswordAsync(operCode, oldPass, newPass, null); } /// public void ModifyPasswordAsync(string operCode, string oldPass, string newPass, object userState) { if ((this.ModifyPasswordOperationCompleted == null)) { this.ModifyPasswordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnModifyPasswordOperationCompleted); } this.InvokeAsync("ModifyPassword", new object[] { operCode, oldPass, newPass}, this.ModifyPasswordOperationCompleted, userState); } private void OnModifyPasswordOperationCompleted(object arg) { if ((this.ModifyPasswordCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.ModifyPasswordCompleted(this, new ModifyPasswordCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetServerTime", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public System.DateTime GetServerTime() { object[] results = this.Invoke("GetServerTime", new object[0]); return ((System.DateTime)(results[0])); } /// public void GetServerTimeAsync() { this.GetServerTimeAsync(null); } /// public void GetServerTimeAsync(object userState) { if ((this.GetServerTimeOperationCompleted == null)) { this.GetServerTimeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServerTimeOperationCompleted); } this.InvokeAsync("GetServerTime", new object[0], this.GetServerTimeOperationCompleted, userState); } private void OnGetServerTimeOperationCompleted(object arg) { if ((this.GetServerTimeCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetServerTimeCompleted(this, new GetServerTimeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Decrypt", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string Decrypt(string str) { object[] results = this.Invoke("Decrypt", new object[] { str}); return ((string)(results[0])); } /// public void DecryptAsync(string str) { this.DecryptAsync(str, null); } /// public void DecryptAsync(string str, object userState) { if ((this.DecryptOperationCompleted == null)) { this.DecryptOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDecryptOperationCompleted); } this.InvokeAsync("Decrypt", new object[] { str}, this.DecryptOperationCompleted, userState); } private void OnDecryptOperationCompleted(object arg) { if ((this.DecryptCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DecryptCompleted(this, new DecryptCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Encrypt", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string Encrypt(string str) { object[] results = this.Invoke("Encrypt", new object[] { str}); return ((string)(results[0])); } /// public void EncryptAsync(string str) { this.EncryptAsync(str, null); } /// public void EncryptAsync(string str, object userState) { if ((this.EncryptOperationCompleted == null)) { this.EncryptOperationCompleted = new System.Threading.SendOrPostCallback(this.OnEncryptOperationCompleted); } this.InvokeAsync("Encrypt", new object[] { str}, this.EncryptOperationCompleted, userState); } private void OnEncryptOperationCompleted(object arg) { if ((this.EncryptCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.EncryptCompleted(this, new EncryptCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetCount", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public int GetCount(string jsonParam) { object[] results = this.Invoke("GetCount", new object[] { jsonParam}); return ((int)(results[0])); } /// public void GetCountAsync(string jsonParam) { this.GetCountAsync(jsonParam, null); } /// public void GetCountAsync(string jsonParam, object userState) { if ((this.GetCountOperationCompleted == null)) { this.GetCountOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetCountOperationCompleted); } this.InvokeAsync("GetCount", new object[] { jsonParam}, this.GetCountOperationCompleted, userState); } private void OnGetCountOperationCompleted(object arg) { if ((this.GetCountCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetCountCompleted(this, new GetCountCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetData", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string GetData(string jsonParam) { object[] results = this.Invoke("GetData", new object[] { jsonParam}); return ((string)(results[0])); } /// public void GetDataAsync(string jsonParam) { this.GetDataAsync(jsonParam, null); } /// public void GetDataAsync(string jsonParam, object userState) { if ((this.GetDataOperationCompleted == null)) { this.GetDataOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDataOperationCompleted); } this.InvokeAsync("GetData", new object[] { jsonParam}, this.GetDataOperationCompleted, userState); } private void OnGetDataOperationCompleted(object arg) { if ((this.GetDataCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetDataCompleted(this, new GetDataCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddData", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string AddData(string jsonParam, string strJson) { object[] results = this.Invoke("AddData", new object[] { jsonParam, strJson}); return ((string)(results[0])); } /// public void AddDataAsync(string jsonParam, string strJson) { this.AddDataAsync(jsonParam, strJson, null); } /// public void AddDataAsync(string jsonParam, string strJson, object userState) { if ((this.AddDataOperationCompleted == null)) { this.AddDataOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddDataOperationCompleted); } this.InvokeAsync("AddData", new object[] { jsonParam, strJson}, this.AddDataOperationCompleted, userState); } private void OnAddDataOperationCompleted(object arg) { if ((this.AddDataCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.AddDataCompleted(this, new AddDataCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/UpdateData", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string UpdateData(string jsonParam, string strJson) { object[] results = this.Invoke("UpdateData", new object[] { jsonParam, strJson}); return ((string)(results[0])); } /// public void UpdateDataAsync(string jsonParam, string strJson) { this.UpdateDataAsync(jsonParam, strJson, null); } /// public void UpdateDataAsync(string jsonParam, string strJson, object userState) { if ((this.UpdateDataOperationCompleted == null)) { this.UpdateDataOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateDataOperationCompleted); } this.InvokeAsync("UpdateData", new object[] { jsonParam, strJson}, this.UpdateDataOperationCompleted, userState); } private void OnUpdateDataOperationCompleted(object arg) { if ((this.UpdateDataCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.UpdateDataCompleted(this, new UpdateDataCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SaveSeqencing", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string SaveSeqencing(string strJson) { object[] results = this.Invoke("SaveSeqencing", new object[] { strJson}); return ((string)(results[0])); } /// public void SaveSeqencingAsync(string strJson) { this.SaveSeqencingAsync(strJson, null); } /// public void SaveSeqencingAsync(string strJson, object userState) { if ((this.SaveSeqencingOperationCompleted == null)) { this.SaveSeqencingOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSaveSeqencingOperationCompleted); } this.InvokeAsync("SaveSeqencing", new object[] { strJson}, this.SaveSeqencingOperationCompleted, userState); } private void OnSaveSeqencingOperationCompleted(object arg) { if ((this.SaveSeqencingCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SaveSeqencingCompleted(this, new SaveSeqencingCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddMutualData", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string AddMutualData(string jsonParam, string strJson) { object[] results = this.Invoke("AddMutualData", new object[] { jsonParam, strJson}); return ((string)(results[0])); } /// public void AddMutualDataAsync(string jsonParam, string strJson) { this.AddMutualDataAsync(jsonParam, strJson, null); } /// public void AddMutualDataAsync(string jsonParam, string strJson, object userState) { if ((this.AddMutualDataOperationCompleted == null)) { this.AddMutualDataOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddMutualDataOperationCompleted); } this.InvokeAsync("AddMutualData", new object[] { jsonParam, strJson}, this.AddMutualDataOperationCompleted, userState); } private void OnAddMutualDataOperationCompleted(object arg) { if ((this.AddMutualDataCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.AddMutualDataCompleted(this, new AddMutualDataCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ReceiveProducts", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string ReceiveProducts(string jsonParam) { object[] results = this.Invoke("ReceiveProducts", new object[] { jsonParam}); return ((string)(results[0])); } /// public void ReceiveProductsAsync(string jsonParam) { this.ReceiveProductsAsync(jsonParam, null); } /// public void ReceiveProductsAsync(string jsonParam, object userState) { if ((this.ReceiveProductsOperationCompleted == null)) { this.ReceiveProductsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnReceiveProductsOperationCompleted); } this.InvokeAsync("ReceiveProducts", new object[] { jsonParam}, this.ReceiveProductsOperationCompleted, userState); } private void OnReceiveProductsOperationCompleted(object arg) { if ((this.ReceiveProductsCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.ReceiveProductsCompleted(this, new ReceiveProductsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// 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; } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] public delegate void GetVerCompletedEventHandler(object sender, GetVerCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetVerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetVerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { this.RaiseExceptionIfNecessary(); return ((string)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] public delegate void WriteLogCompletedEventHandler(object sender, WriteLogCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class WriteLogCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal WriteLogCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { this.RaiseExceptionIfNecessary(); return ((string)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] public delegate void LoginCompletedEventHandler(object sender, LoginCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class LoginCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal LoginCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { this.RaiseExceptionIfNecessary(); return ((string)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] public delegate void LogoutCompletedEventHandler(object sender, LogoutCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class LogoutCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal LogoutCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { this.RaiseExceptionIfNecessary(); return ((string)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] public delegate void ModifyPasswordCompletedEventHandler(object sender, ModifyPasswordCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class ModifyPasswordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal ModifyPasswordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { this.RaiseExceptionIfNecessary(); return ((string)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] public delegate void GetServerTimeCompletedEventHandler(object sender, GetServerTimeCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetServerTimeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetServerTimeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public System.DateTime Result { get { this.RaiseExceptionIfNecessary(); return ((System.DateTime)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] public delegate void DecryptCompletedEventHandler(object sender, DecryptCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class DecryptCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal DecryptCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { this.RaiseExceptionIfNecessary(); return ((string)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] public delegate void EncryptCompletedEventHandler(object sender, EncryptCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class EncryptCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal EncryptCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { this.RaiseExceptionIfNecessary(); return ((string)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] public delegate void GetCountCompletedEventHandler(object sender, GetCountCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetCountCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetCountCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public int Result { get { this.RaiseExceptionIfNecessary(); return ((int)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] public delegate void GetDataCompletedEventHandler(object sender, GetDataCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetDataCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { this.RaiseExceptionIfNecessary(); return ((string)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] public delegate void AddDataCompletedEventHandler(object sender, AddDataCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class AddDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal AddDataCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { this.RaiseExceptionIfNecessary(); return ((string)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] public delegate void UpdateDataCompletedEventHandler(object sender, UpdateDataCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class UpdateDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal UpdateDataCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { this.RaiseExceptionIfNecessary(); return ((string)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] public delegate void SaveSeqencingCompletedEventHandler(object sender, SaveSeqencingCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class SaveSeqencingCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal SaveSeqencingCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { this.RaiseExceptionIfNecessary(); return ((string)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] public delegate void AddMutualDataCompletedEventHandler(object sender, AddMutualDataCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class AddMutualDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal AddMutualDataCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { this.RaiseExceptionIfNecessary(); return ((string)(this.results[0])); } } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] public delegate void ReceiveProductsCompletedEventHandler(object sender, ReceiveProductsCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.6.1590.0")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class ReceiveProductsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal ReceiveProductsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { this.RaiseExceptionIfNecessary(); return ((string)(this.results[0])); } } } } #pragma warning restore 1591