Reference.cs 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // 此代码由工具生成。
  4. // 运行时版本:4.0.30319.42000
  5. //
  6. // 对此文件的更改可能会导致不正确的行为,并且如果
  7. // 重新生成代码,这些更改将会丢失。
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. //
  11. // 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。
  12. //
  13. #pragma warning disable 1591
  14. namespace WMS.Core.FxWebReference {
  15. using System;
  16. using System.Web.Services;
  17. using System.Diagnostics;
  18. using System.Web.Services.Protocols;
  19. using System.Xml.Serialization;
  20. using System.ComponentModel;
  21. /// <remarks/>
  22. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
  23. [System.Diagnostics.DebuggerStepThroughAttribute()]
  24. [System.ComponentModel.DesignerCategoryAttribute("code")]
  25. [System.Web.Services.WebServiceBindingAttribute(Name="interfaceClassHttpBinding", Namespace="http://userWebService.asteelflash.com")]
  26. public partial class interfaceClass : System.Web.Services.Protocols.SoapHttpClientProtocol {
  27. private System.Threading.SendOrPostCallback RefreshCacheOperationCompleted;
  28. private System.Threading.SendOrPostCallback ValidateBeforeTestOperationCompleted;
  29. private System.Threading.SendOrPostCallback GetDataFromMesOperationCompleted;
  30. private System.Threading.SendOrPostCallback SaveDataAfterTestOperationCompleted;
  31. private System.Threading.SendOrPostCallback ValidateAndCompleteOperationCompleted;
  32. private System.Threading.SendOrPostCallback GetConsumptionPartOperationCompleted;
  33. private System.Threading.SendOrPostCallback ValidateDataOnlyOperationCompleted;
  34. private bool useDefaultCredentialsSetExplicitly;
  35. /// <remarks/>
  36. public interfaceClass() {
  37. this.Url = global::WMS.Core.Properties.Settings.Default.WMS_Core_FxWebReference_interfaceClass;
  38. if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
  39. this.UseDefaultCredentials = true;
  40. this.useDefaultCredentialsSetExplicitly = false;
  41. }
  42. else {
  43. this.useDefaultCredentialsSetExplicitly = true;
  44. }
  45. }
  46. public new string Url {
  47. get {
  48. return base.Url;
  49. }
  50. set {
  51. if ((((this.IsLocalFileSystemWebService(base.Url) == true)
  52. && (this.useDefaultCredentialsSetExplicitly == false))
  53. && (this.IsLocalFileSystemWebService(value) == false))) {
  54. base.UseDefaultCredentials = false;
  55. }
  56. base.Url = value;
  57. }
  58. }
  59. public new bool UseDefaultCredentials {
  60. get {
  61. return base.UseDefaultCredentials;
  62. }
  63. set {
  64. base.UseDefaultCredentials = value;
  65. this.useDefaultCredentialsSetExplicitly = true;
  66. }
  67. }
  68. /// <remarks/>
  69. public event RefreshCacheCompletedEventHandler RefreshCacheCompleted;
  70. /// <remarks/>
  71. public event ValidateBeforeTestCompletedEventHandler ValidateBeforeTestCompleted;
  72. /// <remarks/>
  73. public event GetDataFromMesCompletedEventHandler GetDataFromMesCompleted;
  74. /// <remarks/>
  75. public event SaveDataAfterTestCompletedEventHandler SaveDataAfterTestCompleted;
  76. /// <remarks/>
  77. public event ValidateAndCompleteCompletedEventHandler ValidateAndCompleteCompleted;
  78. /// <remarks/>
  79. public event GetConsumptionPartCompletedEventHandler GetConsumptionPartCompleted;
  80. /// <remarks/>
  81. public event ValidateDataOnlyCompletedEventHandler ValidateDataOnlyCompleted;
  82. /// <remarks/>
  83. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://userWebService.asteelflash.com", ResponseNamespace="http://userWebService.asteelflash.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  84. [return: System.Xml.Serialization.XmlElementAttribute("out", IsNullable=true)]
  85. public string RefreshCache([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string in0) {
  86. object[] results = this.Invoke("RefreshCache", new object[] {
  87. in0});
  88. return ((string)(results[0]));
  89. }
  90. /// <remarks/>
  91. public void RefreshCacheAsync(string in0) {
  92. this.RefreshCacheAsync(in0, null);
  93. }
  94. /// <remarks/>
  95. public void RefreshCacheAsync(string in0, object userState) {
  96. if ((this.RefreshCacheOperationCompleted == null)) {
  97. this.RefreshCacheOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRefreshCacheOperationCompleted);
  98. }
  99. this.InvokeAsync("RefreshCache", new object[] {
  100. in0}, this.RefreshCacheOperationCompleted, userState);
  101. }
  102. private void OnRefreshCacheOperationCompleted(object arg) {
  103. if ((this.RefreshCacheCompleted != null)) {
  104. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  105. this.RefreshCacheCompleted(this, new RefreshCacheCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  106. }
  107. }
  108. /// <remarks/>
  109. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://userWebService.asteelflash.com", ResponseNamespace="http://userWebService.asteelflash.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  110. [return: System.Xml.Serialization.XmlElementAttribute("out", IsNullable=true)]
  111. public string ValidateBeforeTest([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string in0) {
  112. object[] results = this.Invoke("ValidateBeforeTest", new object[] {
  113. in0});
  114. return ((string)(results[0]));
  115. }
  116. /// <remarks/>
  117. public void ValidateBeforeTestAsync(string in0) {
  118. this.ValidateBeforeTestAsync(in0, null);
  119. }
  120. /// <remarks/>
  121. public void ValidateBeforeTestAsync(string in0, object userState) {
  122. if ((this.ValidateBeforeTestOperationCompleted == null)) {
  123. this.ValidateBeforeTestOperationCompleted = new System.Threading.SendOrPostCallback(this.OnValidateBeforeTestOperationCompleted);
  124. }
  125. this.InvokeAsync("ValidateBeforeTest", new object[] {
  126. in0}, this.ValidateBeforeTestOperationCompleted, userState);
  127. }
  128. private void OnValidateBeforeTestOperationCompleted(object arg) {
  129. if ((this.ValidateBeforeTestCompleted != null)) {
  130. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  131. this.ValidateBeforeTestCompleted(this, new ValidateBeforeTestCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  132. }
  133. }
  134. /// <remarks/>
  135. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://userWebService.asteelflash.com", ResponseNamespace="http://userWebService.asteelflash.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  136. [return: System.Xml.Serialization.XmlElementAttribute("out", IsNullable=true)]
  137. public string GetDataFromMes([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string in0) {
  138. object[] results = this.Invoke("GetDataFromMes", new object[] {
  139. in0});
  140. return ((string)(results[0]));
  141. }
  142. /// <remarks/>
  143. public void GetDataFromMesAsync(string in0) {
  144. this.GetDataFromMesAsync(in0, null);
  145. }
  146. /// <remarks/>
  147. public void GetDataFromMesAsync(string in0, object userState) {
  148. if ((this.GetDataFromMesOperationCompleted == null)) {
  149. this.GetDataFromMesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDataFromMesOperationCompleted);
  150. }
  151. this.InvokeAsync("GetDataFromMes", new object[] {
  152. in0}, this.GetDataFromMesOperationCompleted, userState);
  153. }
  154. private void OnGetDataFromMesOperationCompleted(object arg) {
  155. if ((this.GetDataFromMesCompleted != null)) {
  156. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  157. this.GetDataFromMesCompleted(this, new GetDataFromMesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  158. }
  159. }
  160. /// <remarks/>
  161. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://userWebService.asteelflash.com", ResponseNamespace="http://userWebService.asteelflash.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  162. [return: System.Xml.Serialization.XmlElementAttribute("out", IsNullable=true)]
  163. public string SaveDataAfterTest([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string in0) {
  164. object[] results = this.Invoke("SaveDataAfterTest", new object[] {
  165. in0});
  166. return ((string)(results[0]));
  167. }
  168. /// <remarks/>
  169. public void SaveDataAfterTestAsync(string in0) {
  170. this.SaveDataAfterTestAsync(in0, null);
  171. }
  172. /// <remarks/>
  173. public void SaveDataAfterTestAsync(string in0, object userState) {
  174. if ((this.SaveDataAfterTestOperationCompleted == null)) {
  175. this.SaveDataAfterTestOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSaveDataAfterTestOperationCompleted);
  176. }
  177. this.InvokeAsync("SaveDataAfterTest", new object[] {
  178. in0}, this.SaveDataAfterTestOperationCompleted, userState);
  179. }
  180. private void OnSaveDataAfterTestOperationCompleted(object arg) {
  181. if ((this.SaveDataAfterTestCompleted != null)) {
  182. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  183. this.SaveDataAfterTestCompleted(this, new SaveDataAfterTestCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  184. }
  185. }
  186. /// <remarks/>
  187. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://userWebService.asteelflash.com", ResponseNamespace="http://userWebService.asteelflash.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  188. [return: System.Xml.Serialization.XmlElementAttribute("out", IsNullable=true)]
  189. public string ValidateAndComplete([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string in0) {
  190. object[] results = this.Invoke("ValidateAndComplete", new object[] {
  191. in0});
  192. return ((string)(results[0]));
  193. }
  194. /// <remarks/>
  195. public void ValidateAndCompleteAsync(string in0) {
  196. this.ValidateAndCompleteAsync(in0, null);
  197. }
  198. /// <remarks/>
  199. public void ValidateAndCompleteAsync(string in0, object userState) {
  200. if ((this.ValidateAndCompleteOperationCompleted == null)) {
  201. this.ValidateAndCompleteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnValidateAndCompleteOperationCompleted);
  202. }
  203. this.InvokeAsync("ValidateAndComplete", new object[] {
  204. in0}, this.ValidateAndCompleteOperationCompleted, userState);
  205. }
  206. private void OnValidateAndCompleteOperationCompleted(object arg) {
  207. if ((this.ValidateAndCompleteCompleted != null)) {
  208. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  209. this.ValidateAndCompleteCompleted(this, new ValidateAndCompleteCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  210. }
  211. }
  212. /// <remarks/>
  213. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://userWebService.asteelflash.com", ResponseNamespace="http://userWebService.asteelflash.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  214. [return: System.Xml.Serialization.XmlElementAttribute("out", IsNullable=true)]
  215. public string GetConsumptionPart([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string in0) {
  216. object[] results = this.Invoke("GetConsumptionPart", new object[] {
  217. in0});
  218. return ((string)(results[0]));
  219. }
  220. /// <remarks/>
  221. public void GetConsumptionPartAsync(string in0) {
  222. this.GetConsumptionPartAsync(in0, null);
  223. }
  224. /// <remarks/>
  225. public void GetConsumptionPartAsync(string in0, object userState) {
  226. if ((this.GetConsumptionPartOperationCompleted == null)) {
  227. this.GetConsumptionPartOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetConsumptionPartOperationCompleted);
  228. }
  229. this.InvokeAsync("GetConsumptionPart", new object[] {
  230. in0}, this.GetConsumptionPartOperationCompleted, userState);
  231. }
  232. private void OnGetConsumptionPartOperationCompleted(object arg) {
  233. if ((this.GetConsumptionPartCompleted != null)) {
  234. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  235. this.GetConsumptionPartCompleted(this, new GetConsumptionPartCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  236. }
  237. }
  238. /// <remarks/>
  239. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://userWebService.asteelflash.com", ResponseNamespace="http://userWebService.asteelflash.com", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  240. [return: System.Xml.Serialization.XmlElementAttribute("out", IsNullable=true)]
  241. public string ValidateDataOnly([System.Xml.Serialization.XmlElementAttribute(IsNullable=true)] string in0) {
  242. object[] results = this.Invoke("ValidateDataOnly", new object[] {
  243. in0});
  244. return ((string)(results[0]));
  245. }
  246. /// <remarks/>
  247. public void ValidateDataOnlyAsync(string in0) {
  248. this.ValidateDataOnlyAsync(in0, null);
  249. }
  250. /// <remarks/>
  251. public void ValidateDataOnlyAsync(string in0, object userState) {
  252. if ((this.ValidateDataOnlyOperationCompleted == null)) {
  253. this.ValidateDataOnlyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnValidateDataOnlyOperationCompleted);
  254. }
  255. this.InvokeAsync("ValidateDataOnly", new object[] {
  256. in0}, this.ValidateDataOnlyOperationCompleted, userState);
  257. }
  258. private void OnValidateDataOnlyOperationCompleted(object arg) {
  259. if ((this.ValidateDataOnlyCompleted != null)) {
  260. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  261. this.ValidateDataOnlyCompleted(this, new ValidateDataOnlyCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  262. }
  263. }
  264. /// <remarks/>
  265. public new void CancelAsync(object userState) {
  266. base.CancelAsync(userState);
  267. }
  268. private bool IsLocalFileSystemWebService(string url) {
  269. if (((url == null)
  270. || (url == string.Empty))) {
  271. return false;
  272. }
  273. System.Uri wsUri = new System.Uri(url);
  274. if (((wsUri.Port >= 1024)
  275. && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
  276. return true;
  277. }
  278. return false;
  279. }
  280. }
  281. /// <remarks/>
  282. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
  283. public delegate void RefreshCacheCompletedEventHandler(object sender, RefreshCacheCompletedEventArgs e);
  284. /// <remarks/>
  285. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
  286. [System.Diagnostics.DebuggerStepThroughAttribute()]
  287. [System.ComponentModel.DesignerCategoryAttribute("code")]
  288. public partial class RefreshCacheCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  289. private object[] results;
  290. internal RefreshCacheCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  291. base(exception, cancelled, userState) {
  292. this.results = results;
  293. }
  294. /// <remarks/>
  295. public string Result {
  296. get {
  297. this.RaiseExceptionIfNecessary();
  298. return ((string)(this.results[0]));
  299. }
  300. }
  301. }
  302. /// <remarks/>
  303. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
  304. public delegate void ValidateBeforeTestCompletedEventHandler(object sender, ValidateBeforeTestCompletedEventArgs e);
  305. /// <remarks/>
  306. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
  307. [System.Diagnostics.DebuggerStepThroughAttribute()]
  308. [System.ComponentModel.DesignerCategoryAttribute("code")]
  309. public partial class ValidateBeforeTestCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  310. private object[] results;
  311. internal ValidateBeforeTestCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  312. base(exception, cancelled, userState) {
  313. this.results = results;
  314. }
  315. /// <remarks/>
  316. public string Result {
  317. get {
  318. this.RaiseExceptionIfNecessary();
  319. return ((string)(this.results[0]));
  320. }
  321. }
  322. }
  323. /// <remarks/>
  324. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
  325. public delegate void GetDataFromMesCompletedEventHandler(object sender, GetDataFromMesCompletedEventArgs e);
  326. /// <remarks/>
  327. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
  328. [System.Diagnostics.DebuggerStepThroughAttribute()]
  329. [System.ComponentModel.DesignerCategoryAttribute("code")]
  330. public partial class GetDataFromMesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  331. private object[] results;
  332. internal GetDataFromMesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  333. base(exception, cancelled, userState) {
  334. this.results = results;
  335. }
  336. /// <remarks/>
  337. public string Result {
  338. get {
  339. this.RaiseExceptionIfNecessary();
  340. return ((string)(this.results[0]));
  341. }
  342. }
  343. }
  344. /// <remarks/>
  345. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
  346. public delegate void SaveDataAfterTestCompletedEventHandler(object sender, SaveDataAfterTestCompletedEventArgs e);
  347. /// <remarks/>
  348. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
  349. [System.Diagnostics.DebuggerStepThroughAttribute()]
  350. [System.ComponentModel.DesignerCategoryAttribute("code")]
  351. public partial class SaveDataAfterTestCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  352. private object[] results;
  353. internal SaveDataAfterTestCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  354. base(exception, cancelled, userState) {
  355. this.results = results;
  356. }
  357. /// <remarks/>
  358. public string Result {
  359. get {
  360. this.RaiseExceptionIfNecessary();
  361. return ((string)(this.results[0]));
  362. }
  363. }
  364. }
  365. /// <remarks/>
  366. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
  367. public delegate void ValidateAndCompleteCompletedEventHandler(object sender, ValidateAndCompleteCompletedEventArgs e);
  368. /// <remarks/>
  369. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
  370. [System.Diagnostics.DebuggerStepThroughAttribute()]
  371. [System.ComponentModel.DesignerCategoryAttribute("code")]
  372. public partial class ValidateAndCompleteCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  373. private object[] results;
  374. internal ValidateAndCompleteCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  375. base(exception, cancelled, userState) {
  376. this.results = results;
  377. }
  378. /// <remarks/>
  379. public string Result {
  380. get {
  381. this.RaiseExceptionIfNecessary();
  382. return ((string)(this.results[0]));
  383. }
  384. }
  385. }
  386. /// <remarks/>
  387. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
  388. public delegate void GetConsumptionPartCompletedEventHandler(object sender, GetConsumptionPartCompletedEventArgs e);
  389. /// <remarks/>
  390. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
  391. [System.Diagnostics.DebuggerStepThroughAttribute()]
  392. [System.ComponentModel.DesignerCategoryAttribute("code")]
  393. public partial class GetConsumptionPartCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  394. private object[] results;
  395. internal GetConsumptionPartCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  396. base(exception, cancelled, userState) {
  397. this.results = results;
  398. }
  399. /// <remarks/>
  400. public string Result {
  401. get {
  402. this.RaiseExceptionIfNecessary();
  403. return ((string)(this.results[0]));
  404. }
  405. }
  406. }
  407. /// <remarks/>
  408. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
  409. public delegate void ValidateDataOnlyCompletedEventHandler(object sender, ValidateDataOnlyCompletedEventArgs e);
  410. /// <remarks/>
  411. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
  412. [System.Diagnostics.DebuggerStepThroughAttribute()]
  413. [System.ComponentModel.DesignerCategoryAttribute("code")]
  414. public partial class ValidateDataOnlyCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  415. private object[] results;
  416. internal ValidateDataOnlyCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  417. base(exception, cancelled, userState) {
  418. this.results = results;
  419. }
  420. /// <remarks/>
  421. public string Result {
  422. get {
  423. this.RaiseExceptionIfNecessary();
  424. return ((string)(this.results[0]));
  425. }
  426. }
  427. }
  428. }
  429. #pragma warning restore 1591