// ------------------------------------------------------------------------------ // // 這段程式碼是由工具產生的。 // 執行階段版本:4.0.30319.42000 // // 對這個檔案所做的變更可能會造成錯誤的行為,而且如果重新產生程式碼, // 變更將會遺失。 // // ------------------------------------------------------------------------------ using System; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Web.Services; using System.Web.Services.Protocols; using System.Xml.Serialization; using Microsoft.VisualBasic.CompilerServices; // // 原始程式碼已由 Microsoft.VSDesigner 自動產生,版本 4.0.30319.42000。 // namespace AutoLoaderService_Base.localhost { /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] [WebServiceBinding(Name = "wsInvokeSoap", Namespace = "http://www.imestech.com/wsInvoke")] [XmlInclude(typeof(object[]))] public partial class wsInvoke : SoapHttpClientProtocol { private System.Threading.SendOrPostCallback invokeSrvOperationCompleted; private System.Threading.SendOrPostCallback invokeSrv_EnableLogOperationCompleted; private System.Threading.SendOrPostCallback invokeSrv_XmlOperationCompleted; private System.Threading.SendOrPostCallback invokeSrv_Xml_SessionOperationCompleted; private System.Threading.SendOrPostCallback invokeSrv_DataTableParameterOperationCompleted; private System.Threading.SendOrPostCallback invokeSrv_DataTableOperationCompleted; private System.Threading.SendOrPostCallback invokeSrv_DataSetOperationCompleted; private System.Threading.SendOrPostCallback invokeSrv_SessionOperationCompleted; private System.Threading.SendOrPostCallback invokeSrv_Session_jsonOperationCompleted; private System.Threading.SendOrPostCallback invokeSrv_iMES_jsonOperationCompleted; private System.Threading.SendOrPostCallback TestOperationCompleted; private System.Threading.SendOrPostCallback invoke_SignalROperationCompleted; private System.Threading.SendOrPostCallback invokeSrv_ModuleOperationCompleted; private System.Threading.SendOrPostCallback invokeSrv_Module_DataSetOperationCompleted; private System.Threading.SendOrPostCallback InvokeSrv_PDAOperationCompleted; private System.Threading.SendOrPostCallback InvokeSrv_PADOperationCompleted; private System.Threading.SendOrPostCallback invokeSrv_jsonOperationCompleted; private System.Threading.SendOrPostCallback InvokeSrv_Json_MultiOperationCompleted; private System.Threading.SendOrPostCallback invokeSrv_Session_plainjsonOperationCompleted; private System.Threading.SendOrPostCallback invokeSrv_plainjsonOperationCompleted; private System.Threading.SendOrPostCallback Invoke_GuardServer_ProcessOperationCompleted; private bool useDefaultCredentialsSetExplicitly; /// public wsInvoke() : base() { Url = Settings.Default.AutoLoaderService_Base_localhost_wsInvoke; if (IsLocalFileSystemWebService(Url) == true) { UseDefaultCredentials = true; useDefaultCredentialsSetExplicitly = false; } else { useDefaultCredentialsSetExplicitly = true; } } public new string Url { get { return base.Url; } set { if (IsLocalFileSystemWebService(base.Url) == true && useDefaultCredentialsSetExplicitly == false && IsLocalFileSystemWebService(value) == false) { base.UseDefaultCredentials = false; } base.Url = value; } } public new bool UseDefaultCredentials { get { return base.UseDefaultCredentials; } set { base.UseDefaultCredentials = value; useDefaultCredentialsSetExplicitly = true; } } /// public event invokeSrvCompletedEventHandler invokeSrvCompleted; /// public event invokeSrv_EnableLogCompletedEventHandler invokeSrv_EnableLogCompleted; /// public event invokeSrv_XmlCompletedEventHandler invokeSrv_XmlCompleted; /// public event invokeSrv_Xml_SessionCompletedEventHandler invokeSrv_Xml_SessionCompleted; /// public event invokeSrv_DataTableParameterCompletedEventHandler invokeSrv_DataTableParameterCompleted; /// public event invokeSrv_DataTableCompletedEventHandler invokeSrv_DataTableCompleted; /// public event invokeSrv_DataSetCompletedEventHandler invokeSrv_DataSetCompleted; /// public event invokeSrv_SessionCompletedEventHandler invokeSrv_SessionCompleted; /// public event invokeSrv_Session_jsonCompletedEventHandler invokeSrv_Session_jsonCompleted; /// public event invokeSrv_iMES_jsonCompletedEventHandler invokeSrv_iMES_jsonCompleted; /// public event TestCompletedEventHandler TestCompleted; /// public event invoke_SignalRCompletedEventHandler invoke_SignalRCompleted; /// public event invokeSrv_ModuleCompletedEventHandler invokeSrv_ModuleCompleted; /// public event invokeSrv_Module_DataSetCompletedEventHandler invokeSrv_Module_DataSetCompleted; /// public event InvokeSrv_PDACompletedEventHandler InvokeSrv_PDACompleted; /// public event InvokeSrv_PADCompletedEventHandler InvokeSrv_PADCompleted; /// public event invokeSrv_jsonCompletedEventHandler invokeSrv_jsonCompleted; /// public event InvokeSrv_Json_MultiCompletedEventHandler InvokeSrv_Json_MultiCompleted; /// public event invokeSrv_Session_plainjsonCompletedEventHandler invokeSrv_Session_plainjsonCompleted; /// public event invokeSrv_plainjsonCompletedEventHandler invokeSrv_plainjsonCompleted; /// public event Invoke_GuardServer_ProcessCompletedEventHandler Invoke_GuardServer_ProcessCompleted; /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/invokeSrv", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public object invokeSrv(string method, object[] parameters) { object[] results = Invoke("invokeSrv", new object[] { method, parameters }); return results[0]; } /// public IAsyncResult BegininvokeSrv(string method, object[] parameters, AsyncCallback callback, object asyncState) { return BeginInvoke("invokeSrv", new object[] { method, parameters }, callback, asyncState); } /// public object EndinvokeSrv(IAsyncResult asyncResult) { object[] results = EndInvoke(asyncResult); return results[0]; } /// public void invokeSrvAsync(string method, object[] parameters) { invokeSrvAsync(method, parameters, null); } /// public void invokeSrvAsync(string method, object[] parameters, object userState) { if (invokeSrvOperationCompleted == null) { invokeSrvOperationCompleted = OninvokeSrvOperationCompleted; } InvokeAsync("invokeSrv", new object[] { method, parameters }, invokeSrvOperationCompleted, userState); } private void OninvokeSrvOperationCompleted(object arg) { if (invokeSrvCompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; invokeSrvCompleted?.Invoke(this, new invokeSrvCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/invokeSrv_EnableLog", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public object invokeSrv_EnableLog(string method, object[] parameters, bool LogOn) { object[] results = Invoke("invokeSrv_EnableLog", new object[] { method, parameters, LogOn }); return results[0]; } /// public IAsyncResult BegininvokeSrv_EnableLog(string method, object[] parameters, bool LogOn, AsyncCallback callback, object asyncState) { return BeginInvoke("invokeSrv_EnableLog", new object[] { method, parameters, LogOn }, callback, asyncState); } /// public object EndinvokeSrv_EnableLog(IAsyncResult asyncResult) { object[] results = EndInvoke(asyncResult); return results[0]; } /// public void invokeSrv_EnableLogAsync(string method, object[] parameters, bool LogOn) { invokeSrv_EnableLogAsync(method, parameters, LogOn, null); } /// public void invokeSrv_EnableLogAsync(string method, object[] parameters, bool LogOn, object userState) { if (invokeSrv_EnableLogOperationCompleted == null) { invokeSrv_EnableLogOperationCompleted = OninvokeSrv_EnableLogOperationCompleted; } InvokeAsync("invokeSrv_EnableLog", new object[] { method, parameters, LogOn }, invokeSrv_EnableLogOperationCompleted, userState); } private void OninvokeSrv_EnableLogOperationCompleted(object arg) { if (invokeSrv_EnableLogCompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; invokeSrv_EnableLogCompleted?.Invoke(this, new invokeSrv_EnableLogCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/invokeSrv_Xml", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public object invokeSrv_Xml(string method, string inXMl) { object[] results = Invoke("invokeSrv_Xml", new object[] { method, inXMl }); return results[0]; } /// public IAsyncResult BegininvokeSrv_Xml(string method, string inXMl, AsyncCallback callback, object asyncState) { return BeginInvoke("invokeSrv_Xml", new object[] { method, inXMl }, callback, asyncState); } /// public object EndinvokeSrv_Xml(IAsyncResult asyncResult) { object[] results = EndInvoke(asyncResult); return results[0]; } /// public void invokeSrv_XmlAsync(string method, string inXMl) { invokeSrv_XmlAsync(method, inXMl, null); } /// public void invokeSrv_XmlAsync(string method, string inXMl, object userState) { if (invokeSrv_XmlOperationCompleted == null) { invokeSrv_XmlOperationCompleted = OninvokeSrv_XmlOperationCompleted; } InvokeAsync("invokeSrv_Xml", new object[] { method, inXMl }, invokeSrv_XmlOperationCompleted, userState); } private void OninvokeSrv_XmlOperationCompleted(object arg) { if (invokeSrv_XmlCompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; invokeSrv_XmlCompleted?.Invoke(this, new invokeSrv_XmlCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/invokeSrv_Xml_Session", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public object invokeSrv_Xml_Session(string method, string inXMl) { object[] results = Invoke("invokeSrv_Xml_Session", new object[] { method, inXMl }); return results[0]; } /// public IAsyncResult BegininvokeSrv_Xml_Session(string method, string inXMl, AsyncCallback callback, object asyncState) { return BeginInvoke("invokeSrv_Xml_Session", new object[] { method, inXMl }, callback, asyncState); } /// public object EndinvokeSrv_Xml_Session(IAsyncResult asyncResult) { object[] results = EndInvoke(asyncResult); return results[0]; } /// public void invokeSrv_Xml_SessionAsync(string method, string inXMl) { invokeSrv_Xml_SessionAsync(method, inXMl, null); } /// public void invokeSrv_Xml_SessionAsync(string method, string inXMl, object userState) { if (invokeSrv_Xml_SessionOperationCompleted == null) { invokeSrv_Xml_SessionOperationCompleted = OninvokeSrv_Xml_SessionOperationCompleted; } InvokeAsync("invokeSrv_Xml_Session", new object[] { method, inXMl }, invokeSrv_Xml_SessionOperationCompleted, userState); } private void OninvokeSrv_Xml_SessionOperationCompleted(object arg) { if (invokeSrv_Xml_SessionCompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; invokeSrv_Xml_SessionCompleted?.Invoke(this, new invokeSrv_Xml_SessionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/invokeSrv_DataTableParameter", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public object invokeSrv_DataTableParameter(string method, object[] parameters, ref DataTable pDataTable) { object[] results = Invoke("invokeSrv_DataTableParameter", new object[] { method, parameters, pDataTable }); pDataTable = (DataTable)results[1]; return results[0]; } /// public IAsyncResult BegininvokeSrv_DataTableParameter(string method, object[] parameters, DataTable pDataTable, AsyncCallback callback, object asyncState) { return BeginInvoke("invokeSrv_DataTableParameter", new object[] { method, parameters, pDataTable }, callback, asyncState); } /// public object EndinvokeSrv_DataTableParameter(IAsyncResult asyncResult, ref DataTable pDataTable) { object[] results = EndInvoke(asyncResult); pDataTable = (DataTable)results[1]; return results[0]; } /// public void invokeSrv_DataTableParameterAsync(string method, object[] parameters, DataTable pDataTable) { invokeSrv_DataTableParameterAsync(method, parameters, pDataTable, null); } /// public void invokeSrv_DataTableParameterAsync(string method, object[] parameters, DataTable pDataTable, object userState) { if (invokeSrv_DataTableParameterOperationCompleted == null) { invokeSrv_DataTableParameterOperationCompleted = OninvokeSrv_DataTableParameterOperationCompleted; } InvokeAsync("invokeSrv_DataTableParameter", new object[] { method, parameters, pDataTable }, invokeSrv_DataTableParameterOperationCompleted, userState); } private void OninvokeSrv_DataTableParameterOperationCompleted(object arg) { if (invokeSrv_DataTableParameterCompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; invokeSrv_DataTableParameterCompleted?.Invoke(this, new invokeSrv_DataTableParameterCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/invokeSrv_DataTable", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public object invokeSrv_DataTable(string method, string InXml, ref DataTable pDataTable) { object[] results = Invoke("invokeSrv_DataTable", new object[] { method, InXml, pDataTable }); pDataTable = (DataTable)results[1]; return results[0]; } /// public IAsyncResult BegininvokeSrv_DataTable(string method, string InXml, DataTable pDataTable, AsyncCallback callback, object asyncState) { return BeginInvoke("invokeSrv_DataTable", new object[] { method, InXml, pDataTable }, callback, asyncState); } /// public object EndinvokeSrv_DataTable(IAsyncResult asyncResult, ref DataTable pDataTable) { object[] results = EndInvoke(asyncResult); pDataTable = (DataTable)results[1]; return results[0]; } /// public void invokeSrv_DataTableAsync(string method, string InXml, DataTable pDataTable) { invokeSrv_DataTableAsync(method, InXml, pDataTable, null); } /// public void invokeSrv_DataTableAsync(string method, string InXml, DataTable pDataTable, object userState) { if (invokeSrv_DataTableOperationCompleted == null) { invokeSrv_DataTableOperationCompleted = OninvokeSrv_DataTableOperationCompleted; } InvokeAsync("invokeSrv_DataTable", new object[] { method, InXml, pDataTable }, invokeSrv_DataTableOperationCompleted, userState); } private void OninvokeSrv_DataTableOperationCompleted(object arg) { if (invokeSrv_DataTableCompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; invokeSrv_DataTableCompleted?.Invoke(this, new invokeSrv_DataTableCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/invokeSrv_DataSet", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public object invokeSrv_DataSet(string method, string InXml, ref DataSet pDataSet) { object[] results = Invoke("invokeSrv_DataSet", new object[] { method, InXml, pDataSet }); pDataSet = (DataSet)results[1]; return results[0]; } /// public IAsyncResult BegininvokeSrv_DataSet(string method, string InXml, DataSet pDataSet, AsyncCallback callback, object asyncState) { return BeginInvoke("invokeSrv_DataSet", new object[] { method, InXml, pDataSet }, callback, asyncState); } /// public object EndinvokeSrv_DataSet(IAsyncResult asyncResult, ref DataSet pDataSet) { object[] results = EndInvoke(asyncResult); pDataSet = (DataSet)results[1]; return results[0]; } /// public void invokeSrv_DataSetAsync(string method, string InXml, DataSet pDataSet) { invokeSrv_DataSetAsync(method, InXml, pDataSet, null); } /// public void invokeSrv_DataSetAsync(string method, string InXml, DataSet pDataSet, object userState) { if (invokeSrv_DataSetOperationCompleted == null) { invokeSrv_DataSetOperationCompleted = OninvokeSrv_DataSetOperationCompleted; } InvokeAsync("invokeSrv_DataSet", new object[] { method, InXml, pDataSet }, invokeSrv_DataSetOperationCompleted, userState); } private void OninvokeSrv_DataSetOperationCompleted(object arg) { if (invokeSrv_DataSetCompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; invokeSrv_DataSetCompleted?.Invoke(this, new invokeSrv_DataSetCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/invokeSrv_Session", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public object invokeSrv_Session(string method, object[] parameters) { object[] results = Invoke("invokeSrv_Session", new object[] { method, parameters }); return results[0]; } /// public IAsyncResult BegininvokeSrv_Session(string method, object[] parameters, AsyncCallback callback, object asyncState) { return BeginInvoke("invokeSrv_Session", new object[] { method, parameters }, callback, asyncState); } /// public object EndinvokeSrv_Session(IAsyncResult asyncResult) { object[] results = EndInvoke(asyncResult); return results[0]; } /// public void invokeSrv_SessionAsync(string method, object[] parameters) { invokeSrv_SessionAsync(method, parameters, null); } /// public void invokeSrv_SessionAsync(string method, object[] parameters, object userState) { if (invokeSrv_SessionOperationCompleted == null) { invokeSrv_SessionOperationCompleted = OninvokeSrv_SessionOperationCompleted; } InvokeAsync("invokeSrv_Session", new object[] { method, parameters }, invokeSrv_SessionOperationCompleted, userState); } private void OninvokeSrv_SessionOperationCompleted(object arg) { if (invokeSrv_SessionCompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; invokeSrv_SessionCompleted?.Invoke(this, new invokeSrv_SessionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/invokeSrv_Session_json", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public string invokeSrv_Session_json(string metadata, string parameter) { object[] results = Invoke("invokeSrv_Session_json", new object[] { metadata, parameter }); return Conversions.ToString(results[0]); } /// public IAsyncResult BegininvokeSrv_Session_json(string metadata, string parameter, AsyncCallback callback, object asyncState) { return BeginInvoke("invokeSrv_Session_json", new object[] { metadata, parameter }, callback, asyncState); } /// public string EndinvokeSrv_Session_json(IAsyncResult asyncResult) { object[] results = EndInvoke(asyncResult); return Conversions.ToString(results[0]); } /// public void invokeSrv_Session_jsonAsync(string metadata, string parameter) { invokeSrv_Session_jsonAsync(metadata, parameter, null); } /// public void invokeSrv_Session_jsonAsync(string metadata, string parameter, object userState) { if (invokeSrv_Session_jsonOperationCompleted == null) { invokeSrv_Session_jsonOperationCompleted = OninvokeSrv_Session_jsonOperationCompleted; } InvokeAsync("invokeSrv_Session_json", new object[] { metadata, parameter }, invokeSrv_Session_jsonOperationCompleted, userState); } private void OninvokeSrv_Session_jsonOperationCompleted(object arg) { if (invokeSrv_Session_jsonCompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; invokeSrv_Session_jsonCompleted?.Invoke(this, new invokeSrv_Session_jsonCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/invokeSrv_iMES_json", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public string invokeSrv_iMES_json(string uri, string content) { object[] results = Invoke("invokeSrv_iMES_json", new object[] { uri, content }); return Conversions.ToString(results[0]); } /// public IAsyncResult BegininvokeSrv_iMES_json(string uri, string content, AsyncCallback callback, object asyncState) { return BeginInvoke("invokeSrv_iMES_json", new object[] { uri, content }, callback, asyncState); } /// public string EndinvokeSrv_iMES_json(IAsyncResult asyncResult) { object[] results = EndInvoke(asyncResult); return Conversions.ToString(results[0]); } /// public void invokeSrv_iMES_jsonAsync(string uri, string content) { invokeSrv_iMES_jsonAsync(uri, content, null); } /// public void invokeSrv_iMES_jsonAsync(string uri, string content, object userState) { if (invokeSrv_iMES_jsonOperationCompleted == null) { invokeSrv_iMES_jsonOperationCompleted = OninvokeSrv_iMES_jsonOperationCompleted; } InvokeAsync("invokeSrv_iMES_json", new object[] { uri, content }, invokeSrv_iMES_jsonOperationCompleted, userState); } private void OninvokeSrv_iMES_jsonOperationCompleted(object arg) { if (invokeSrv_iMES_jsonCompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; invokeSrv_iMES_jsonCompleted?.Invoke(this, new invokeSrv_iMES_jsonCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/Test", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public string Test(string UserNo) { object[] results = Invoke("Test", new object[] { UserNo }); return Conversions.ToString(results[0]); } /// public IAsyncResult BeginTest(string UserNo, AsyncCallback callback, object asyncState) { return BeginInvoke("Test", new object[] { UserNo }, callback, asyncState); } /// public string EndTest(IAsyncResult asyncResult) { object[] results = EndInvoke(asyncResult); return Conversions.ToString(results[0]); } /// public void TestAsync(string UserNo) { TestAsync(UserNo, null); } /// public void TestAsync(string UserNo, object userState) { if (TestOperationCompleted == null) { TestOperationCompleted = OnTestOperationCompleted; } InvokeAsync("Test", new object[] { UserNo }, TestOperationCompleted, userState); } private void OnTestOperationCompleted(object arg) { if (TestCompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; TestCompleted?.Invoke(this, new TestCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/invoke_SignalR", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public object invoke_SignalR(string mseContent) { object[] results = Invoke("invoke_SignalR", new object[] { mseContent }); return results[0]; } /// public IAsyncResult Begininvoke_SignalR(string mseContent, AsyncCallback callback, object asyncState) { return BeginInvoke("invoke_SignalR", new object[] { mseContent }, callback, asyncState); } /// public object Endinvoke_SignalR(IAsyncResult asyncResult) { object[] results = EndInvoke(asyncResult); return results[0]; } /// public void invoke_SignalRAsync(string mseContent) { invoke_SignalRAsync(mseContent, null); } /// public void invoke_SignalRAsync(string mseContent, object userState) { if (invoke_SignalROperationCompleted == null) { invoke_SignalROperationCompleted = Oninvoke_SignalROperationCompleted; } InvokeAsync("invoke_SignalR", new object[] { mseContent }, invoke_SignalROperationCompleted, userState); } private void Oninvoke_SignalROperationCompleted(object arg) { if (invoke_SignalRCompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; invoke_SignalRCompleted?.Invoke(this, new invoke_SignalRCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/invokeSrv_Module", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public object invokeSrv_Module(string method, ref object[] parameters, object pInvokeType, string[] pLogKeyFields, bool blnLogOn) { object[] results = Invoke("invokeSrv_Module", new object[] { method, parameters, pInvokeType, pLogKeyFields, blnLogOn }); parameters = (object[])results[1]; return results[0]; } /// public IAsyncResult BegininvokeSrv_Module(string method, object[] parameters, object pInvokeType, string[] pLogKeyFields, bool blnLogOn, AsyncCallback callback, object asyncState) { return BeginInvoke("invokeSrv_Module", new object[] { method, parameters, pInvokeType, pLogKeyFields, blnLogOn }, callback, asyncState); } /// public object EndinvokeSrv_Module(IAsyncResult asyncResult, ref object[] parameters) { object[] results = EndInvoke(asyncResult); parameters = (object[])results[1]; return results[0]; } /// public void invokeSrv_ModuleAsync(string method, object[] parameters, object pInvokeType, string[] pLogKeyFields, bool blnLogOn) { invokeSrv_ModuleAsync(method, parameters, pInvokeType, pLogKeyFields, blnLogOn, null); } /// public void invokeSrv_ModuleAsync(string method, object[] parameters, object pInvokeType, string[] pLogKeyFields, bool blnLogOn, object userState) { if (invokeSrv_ModuleOperationCompleted == null) { invokeSrv_ModuleOperationCompleted = OninvokeSrv_ModuleOperationCompleted; } InvokeAsync("invokeSrv_Module", new object[] { method, parameters, pInvokeType, pLogKeyFields, blnLogOn }, invokeSrv_ModuleOperationCompleted, userState); } private void OninvokeSrv_ModuleOperationCompleted(object arg) { if (invokeSrv_ModuleCompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; invokeSrv_ModuleCompleted?.Invoke(this, new invokeSrv_ModuleCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/invokeSrv_Module_DataSet", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public object invokeSrv_Module_DataSet(string method, ref object[] parameters, object pInvokeType, string[] pLogKeyFields, bool blnLogOn, ref DataSet pDataSet) { object[] results = Invoke("invokeSrv_Module_DataSet", new object[] { method, parameters, pInvokeType, pLogKeyFields, blnLogOn, pDataSet }); parameters = (object[])results[1]; pDataSet = (DataSet)results[2]; return results[0]; } /// public IAsyncResult BegininvokeSrv_Module_DataSet(string method, object[] parameters, object pInvokeType, string[] pLogKeyFields, bool blnLogOn, DataSet pDataSet, AsyncCallback callback, object asyncState) { return BeginInvoke("invokeSrv_Module_DataSet", new object[] { method, parameters, pInvokeType, pLogKeyFields, blnLogOn, pDataSet }, callback, asyncState); } /// public object EndinvokeSrv_Module_DataSet(IAsyncResult asyncResult, ref object[] parameters, ref DataSet pDataSet) { object[] results = EndInvoke(asyncResult); parameters = (object[])results[1]; pDataSet = (DataSet)results[2]; return results[0]; } /// public void invokeSrv_Module_DataSetAsync(string method, object[] parameters, object pInvokeType, string[] pLogKeyFields, bool blnLogOn, DataSet pDataSet) { invokeSrv_Module_DataSetAsync(method, parameters, pInvokeType, pLogKeyFields, blnLogOn, pDataSet, null); } /// public void invokeSrv_Module_DataSetAsync(string method, object[] parameters, object pInvokeType, string[] pLogKeyFields, bool blnLogOn, DataSet pDataSet, object userState) { if (invokeSrv_Module_DataSetOperationCompleted == null) { invokeSrv_Module_DataSetOperationCompleted = OninvokeSrv_Module_DataSetOperationCompleted; } InvokeAsync("invokeSrv_Module_DataSet", new object[] { method, parameters, pInvokeType, pLogKeyFields, blnLogOn, pDataSet }, invokeSrv_Module_DataSetOperationCompleted, userState); } private void OninvokeSrv_Module_DataSetOperationCompleted(object arg) { if (invokeSrv_Module_DataSetCompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; invokeSrv_Module_DataSetCompleted?.Invoke(this, new invokeSrv_Module_DataSetCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/InvokeSrv_PDA", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public string InvokeSrv_PDA(string uri, string content) { object[] results = Invoke("InvokeSrv_PDA", new object[] { uri, content }); return Conversions.ToString(results[0]); } /// public IAsyncResult BeginInvokeSrv_PDA(string uri, string content, AsyncCallback callback, object asyncState) { return BeginInvoke("InvokeSrv_PDA", new object[] { uri, content }, callback, asyncState); } /// public string EndInvokeSrv_PDA(IAsyncResult asyncResult) { object[] results = EndInvoke(asyncResult); return Conversions.ToString(results[0]); } /// public void InvokeSrv_PDAAsync(string uri, string content) { InvokeSrv_PDAAsync(uri, content, null); } /// public void InvokeSrv_PDAAsync(string uri, string content, object userState) { if (InvokeSrv_PDAOperationCompleted == null) { InvokeSrv_PDAOperationCompleted = OnInvokeSrv_PDAOperationCompleted; } InvokeAsync("InvokeSrv_PDA", new object[] { uri, content }, InvokeSrv_PDAOperationCompleted, userState); } private void OnInvokeSrv_PDAOperationCompleted(object arg) { if (InvokeSrv_PDACompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; InvokeSrv_PDACompleted?.Invoke(this, new InvokeSrv_PDACompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/InvokeSrv_PAD", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public string InvokeSrv_PAD(string uri, string content) { object[] results = Invoke("InvokeSrv_PAD", new object[] { uri, content }); return Conversions.ToString(results[0]); } /// public IAsyncResult BeginInvokeSrv_PAD(string uri, string content, AsyncCallback callback, object asyncState) { return BeginInvoke("InvokeSrv_PAD", new object[] { uri, content }, callback, asyncState); } /// public string EndInvokeSrv_PAD(IAsyncResult asyncResult) { object[] results = EndInvoke(asyncResult); return Conversions.ToString(results[0]); } /// public void InvokeSrv_PADAsync(string uri, string content) { InvokeSrv_PADAsync(uri, content, null); } /// public void InvokeSrv_PADAsync(string uri, string content, object userState) { if (InvokeSrv_PADOperationCompleted == null) { InvokeSrv_PADOperationCompleted = OnInvokeSrv_PADOperationCompleted; } InvokeAsync("InvokeSrv_PAD", new object[] { uri, content }, InvokeSrv_PADOperationCompleted, userState); } private void OnInvokeSrv_PADOperationCompleted(object arg) { if (InvokeSrv_PADCompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; InvokeSrv_PADCompleted?.Invoke(this, new InvokeSrv_PADCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/invokeSrv_json", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public string invokeSrv_json(string uri, string content) { object[] results = Invoke("invokeSrv_json", new object[] { uri, content }); return Conversions.ToString(results[0]); } /// public IAsyncResult BegininvokeSrv_json(string uri, string content, AsyncCallback callback, object asyncState) { return BeginInvoke("invokeSrv_json", new object[] { uri, content }, callback, asyncState); } /// public string EndinvokeSrv_json(IAsyncResult asyncResult) { object[] results = EndInvoke(asyncResult); return Conversions.ToString(results[0]); } /// public void invokeSrv_jsonAsync(string uri, string content) { invokeSrv_jsonAsync(uri, content, null); } /// public void invokeSrv_jsonAsync(string uri, string content, object userState) { if (invokeSrv_jsonOperationCompleted == null) { invokeSrv_jsonOperationCompleted = OninvokeSrv_jsonOperationCompleted; } InvokeAsync("invokeSrv_json", new object[] { uri, content }, invokeSrv_jsonOperationCompleted, userState); } private void OninvokeSrv_jsonOperationCompleted(object arg) { if (invokeSrv_jsonCompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; invokeSrv_jsonCompleted?.Invoke(this, new invokeSrv_jsonCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/InvokeSrv_Json_Multi", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public string InvokeSrv_Json_Multi(string uri, string content) { object[] results = Invoke("InvokeSrv_Json_Multi", new object[] { uri, content }); return Conversions.ToString(results[0]); } /// public IAsyncResult BeginInvokeSrv_Json_Multi(string uri, string content, AsyncCallback callback, object asyncState) { return BeginInvoke("InvokeSrv_Json_Multi", new object[] { uri, content }, callback, asyncState); } /// public string EndInvokeSrv_Json_Multi(IAsyncResult asyncResult) { object[] results = EndInvoke(asyncResult); return Conversions.ToString(results[0]); } /// public void InvokeSrv_Json_MultiAsync(string uri, string content) { InvokeSrv_Json_MultiAsync(uri, content, null); } /// public void InvokeSrv_Json_MultiAsync(string uri, string content, object userState) { if (InvokeSrv_Json_MultiOperationCompleted == null) { InvokeSrv_Json_MultiOperationCompleted = OnInvokeSrv_Json_MultiOperationCompleted; } InvokeAsync("InvokeSrv_Json_Multi", new object[] { uri, content }, InvokeSrv_Json_MultiOperationCompleted, userState); } private void OnInvokeSrv_Json_MultiOperationCompleted(object arg) { if (InvokeSrv_Json_MultiCompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; InvokeSrv_Json_MultiCompleted?.Invoke(this, new InvokeSrv_Json_MultiCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/invokeSrv_Session_plainjson", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public string invokeSrv_Session_plainjson(string uri, string content) { object[] results = Invoke("invokeSrv_Session_plainjson", new object[] { uri, content }); return Conversions.ToString(results[0]); } /// public IAsyncResult BegininvokeSrv_Session_plainjson(string uri, string content, AsyncCallback callback, object asyncState) { return BeginInvoke("invokeSrv_Session_plainjson", new object[] { uri, content }, callback, asyncState); } /// public string EndinvokeSrv_Session_plainjson(IAsyncResult asyncResult) { object[] results = EndInvoke(asyncResult); return Conversions.ToString(results[0]); } /// public void invokeSrv_Session_plainjsonAsync(string uri, string content) { invokeSrv_Session_plainjsonAsync(uri, content, null); } /// public void invokeSrv_Session_plainjsonAsync(string uri, string content, object userState) { if (invokeSrv_Session_plainjsonOperationCompleted == null) { invokeSrv_Session_plainjsonOperationCompleted = OninvokeSrv_Session_plainjsonOperationCompleted; } InvokeAsync("invokeSrv_Session_plainjson", new object[] { uri, content }, invokeSrv_Session_plainjsonOperationCompleted, userState); } private void OninvokeSrv_Session_plainjsonOperationCompleted(object arg) { if (invokeSrv_Session_plainjsonCompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; invokeSrv_Session_plainjsonCompleted?.Invoke(this, new invokeSrv_Session_plainjsonCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/invokeSrv_plainjson", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public string invokeSrv_plainjson(string uri, string content) { object[] results = Invoke("invokeSrv_plainjson", new object[] { uri, content }); return Conversions.ToString(results[0]); } /// public IAsyncResult BegininvokeSrv_plainjson(string uri, string content, AsyncCallback callback, object asyncState) { return BeginInvoke("invokeSrv_plainjson", new object[] { uri, content }, callback, asyncState); } /// public string EndinvokeSrv_plainjson(IAsyncResult asyncResult) { object[] results = EndInvoke(asyncResult); return Conversions.ToString(results[0]); } /// public void invokeSrv_plainjsonAsync(string uri, string content) { invokeSrv_plainjsonAsync(uri, content, null); } /// public void invokeSrv_plainjsonAsync(string uri, string content, object userState) { if (invokeSrv_plainjsonOperationCompleted == null) { invokeSrv_plainjsonOperationCompleted = OninvokeSrv_plainjsonOperationCompleted; } InvokeAsync("invokeSrv_plainjson", new object[] { uri, content }, invokeSrv_plainjsonOperationCompleted, userState); } private void OninvokeSrv_plainjsonOperationCompleted(object arg) { if (invokeSrv_plainjsonCompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; invokeSrv_plainjsonCompleted?.Invoke(this, new invokeSrv_plainjsonCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// [SoapDocumentMethod("http://www.imestech.com/wsInvoke/Invoke_GuardServer_Process", RequestNamespace = "http://www.imestech.com/wsInvoke", ResponseNamespace = "http://www.imestech.com/wsInvoke", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] public object Invoke_GuardServer_Process() { object[] results = Invoke("Invoke_GuardServer_Process", new object[0]); return results[0]; } /// public IAsyncResult BeginInvoke_GuardServer_Process(AsyncCallback callback, object asyncState) { return BeginInvoke("Invoke_GuardServer_Process", new object[0], callback, asyncState); } /// public object EndInvoke_GuardServer_Process(IAsyncResult asyncResult) { object[] results = EndInvoke(asyncResult); return results[0]; } /// public void Invoke_GuardServer_ProcessAsync() { Invoke_GuardServer_ProcessAsync(null); } /// public void Invoke_GuardServer_ProcessAsync(object userState) { if (Invoke_GuardServer_ProcessOperationCompleted == null) { Invoke_GuardServer_ProcessOperationCompleted = OnInvoke_GuardServer_ProcessOperationCompleted; } InvokeAsync("Invoke_GuardServer_Process", new object[0], Invoke_GuardServer_ProcessOperationCompleted, userState); } private void OnInvoke_GuardServer_ProcessOperationCompleted(object arg) { if (Invoke_GuardServer_ProcessCompleted != null) { InvokeCompletedEventArgs invokeArgs = (InvokeCompletedEventArgs)arg; Invoke_GuardServer_ProcessCompleted?.Invoke(this, new Invoke_GuardServer_ProcessCompletedEventArgs(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 || ReferenceEquals(url, string.Empty)) { return false; } var wsUri = new Uri(url); if (wsUri.Port >= 1024 && string.Compare(wsUri.Host, "localHost", StringComparison.OrdinalIgnoreCase) == 0) { return true; } return false; } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void invokeSrvCompletedEventHandler(object sender, invokeSrvCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class invokeSrvCompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal invokeSrvCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public object Result { get { RaiseExceptionIfNecessary(); return results[0]; } } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void invokeSrv_EnableLogCompletedEventHandler(object sender, invokeSrv_EnableLogCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class invokeSrv_EnableLogCompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal invokeSrv_EnableLogCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public object Result { get { RaiseExceptionIfNecessary(); return results[0]; } } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void invokeSrv_XmlCompletedEventHandler(object sender, invokeSrv_XmlCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class invokeSrv_XmlCompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal invokeSrv_XmlCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public object Result { get { RaiseExceptionIfNecessary(); return results[0]; } } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void invokeSrv_Xml_SessionCompletedEventHandler(object sender, invokeSrv_Xml_SessionCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class invokeSrv_Xml_SessionCompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal invokeSrv_Xml_SessionCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public object Result { get { RaiseExceptionIfNecessary(); return results[0]; } } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void invokeSrv_DataTableParameterCompletedEventHandler(object sender, invokeSrv_DataTableParameterCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class invokeSrv_DataTableParameterCompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal invokeSrv_DataTableParameterCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public object Result { get { RaiseExceptionIfNecessary(); return results[0]; } } /// public DataTable pDataTable { get { RaiseExceptionIfNecessary(); return (DataTable)results[1]; } } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void invokeSrv_DataTableCompletedEventHandler(object sender, invokeSrv_DataTableCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class invokeSrv_DataTableCompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal invokeSrv_DataTableCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public object Result { get { RaiseExceptionIfNecessary(); return results[0]; } } /// public DataTable pDataTable { get { RaiseExceptionIfNecessary(); return (DataTable)results[1]; } } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void invokeSrv_DataSetCompletedEventHandler(object sender, invokeSrv_DataSetCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class invokeSrv_DataSetCompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal invokeSrv_DataSetCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public object Result { get { RaiseExceptionIfNecessary(); return results[0]; } } /// public DataSet pDataSet { get { RaiseExceptionIfNecessary(); return (DataSet)results[1]; } } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void invokeSrv_SessionCompletedEventHandler(object sender, invokeSrv_SessionCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class invokeSrv_SessionCompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal invokeSrv_SessionCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public object Result { get { RaiseExceptionIfNecessary(); return results[0]; } } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void invokeSrv_Session_jsonCompletedEventHandler(object sender, invokeSrv_Session_jsonCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class invokeSrv_Session_jsonCompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal invokeSrv_Session_jsonCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { RaiseExceptionIfNecessary(); return Conversions.ToString(results[0]); } } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void invokeSrv_iMES_jsonCompletedEventHandler(object sender, invokeSrv_iMES_jsonCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class invokeSrv_iMES_jsonCompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal invokeSrv_iMES_jsonCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { RaiseExceptionIfNecessary(); return Conversions.ToString(results[0]); } } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void TestCompletedEventHandler(object sender, TestCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class TestCompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal TestCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { RaiseExceptionIfNecessary(); return Conversions.ToString(results[0]); } } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void invoke_SignalRCompletedEventHandler(object sender, invoke_SignalRCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class invoke_SignalRCompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal invoke_SignalRCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public object Result { get { RaiseExceptionIfNecessary(); return results[0]; } } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void invokeSrv_ModuleCompletedEventHandler(object sender, invokeSrv_ModuleCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class invokeSrv_ModuleCompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal invokeSrv_ModuleCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public object Result { get { RaiseExceptionIfNecessary(); return results[0]; } } /// public object[] parameters { get { RaiseExceptionIfNecessary(); return (object[])results[1]; } } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void invokeSrv_Module_DataSetCompletedEventHandler(object sender, invokeSrv_Module_DataSetCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class invokeSrv_Module_DataSetCompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal invokeSrv_Module_DataSetCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public object Result { get { RaiseExceptionIfNecessary(); return results[0]; } } /// public object[] parameters { get { RaiseExceptionIfNecessary(); return (object[])results[1]; } } /// public DataSet pDataSet { get { RaiseExceptionIfNecessary(); return (DataSet)results[2]; } } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void InvokeSrv_PDACompletedEventHandler(object sender, InvokeSrv_PDACompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class InvokeSrv_PDACompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal InvokeSrv_PDACompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { RaiseExceptionIfNecessary(); return Conversions.ToString(results[0]); } } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void InvokeSrv_PADCompletedEventHandler(object sender, InvokeSrv_PADCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class InvokeSrv_PADCompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal InvokeSrv_PADCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { RaiseExceptionIfNecessary(); return Conversions.ToString(results[0]); } } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void invokeSrv_jsonCompletedEventHandler(object sender, invokeSrv_jsonCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class invokeSrv_jsonCompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal invokeSrv_jsonCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { RaiseExceptionIfNecessary(); return Conversions.ToString(results[0]); } } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void InvokeSrv_Json_MultiCompletedEventHandler(object sender, InvokeSrv_Json_MultiCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class InvokeSrv_Json_MultiCompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal InvokeSrv_Json_MultiCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { RaiseExceptionIfNecessary(); return Conversions.ToString(results[0]); } } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void invokeSrv_Session_plainjsonCompletedEventHandler(object sender, invokeSrv_Session_plainjsonCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class invokeSrv_Session_plainjsonCompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal invokeSrv_Session_plainjsonCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { RaiseExceptionIfNecessary(); return Conversions.ToString(results[0]); } } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void invokeSrv_plainjsonCompletedEventHandler(object sender, invokeSrv_plainjsonCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class invokeSrv_plainjsonCompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal invokeSrv_plainjsonCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public string Result { get { RaiseExceptionIfNecessary(); return Conversions.ToString(results[0]); } } } /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] public delegate void Invoke_GuardServer_ProcessCompletedEventHandler(object sender, Invoke_GuardServer_ProcessCompletedEventArgs e); /// [System.CodeDom.Compiler.GeneratedCode("System.Web.Services", "4.8.4084.0")] [DebuggerStepThrough()] [DesignerCategory("code")] public partial class Invoke_GuardServer_ProcessCompletedEventArgs : AsyncCompletedEventArgs { private object[] results; internal Invoke_GuardServer_ProcessCompletedEventArgs(object[] results, Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// public object Result { get { RaiseExceptionIfNecessary(); return results[0]; } } } }