Reference.cs 57 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // 此代码由工具生成。
  4. // 运行时版本:4.0.30319.18444
  5. //
  6. // 对此文件的更改可能会导致不正确的行为,并且如果
  7. // 重新生成代码,这些更改将会丢失。
  8. // </auto-generated>
  9. //------------------------------------------------------------------------------
  10. //
  11. // 此源代码是由 Microsoft.VSDesigner 4.0.30319.18444 版自动生成。
  12. //
  13. #pragma warning disable 1591
  14. namespace WindowsApplication1.Service1 {
  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.0.30319.18408")]
  23. [System.Diagnostics.DebuggerStepThroughAttribute()]
  24. [System.ComponentModel.DesignerCategoryAttribute("code")]
  25. [System.Web.Services.WebServiceBindingAttribute(Name="Service1Soap", Namespace="http://tempuri.org/")]
  26. public partial class Service1 : System.Web.Services.Protocols.SoapHttpClientProtocol {
  27. private System.Threading.SendOrPostCallback RegineUserOperationCompleted;
  28. private System.Threading.SendOrPostCallback GetUserInfoOperationCompleted;
  29. private System.Threading.SendOrPostCallback EditUserPwdOperationCompleted;
  30. private System.Threading.SendOrPostCallback SendMessagesOperationCompleted;
  31. private System.Threading.SendOrPostCallback SendFaxOperationCompleted;
  32. private System.Threading.SendOrPostCallback SendMMSOperationCompleted;
  33. private System.Threading.SendOrPostCallback GetMessageInfoOperationCompleted;
  34. private System.Threading.SendOrPostCallback SendVoiceOperationCompleted;
  35. private System.Threading.SendOrPostCallback GetFaxRecordOperationCompleted;
  36. private System.Threading.SendOrPostCallback GetVoiceRecordOperationCompleted;
  37. private System.Threading.SendOrPostCallback GetMessageRecordOperationCompleted;
  38. private System.Threading.SendOrPostCallback GET_SMS_MOOperationCompleted;
  39. private System.Threading.SendOrPostCallback GET_MSP_MOOperationCompleted;
  40. private System.Threading.SendOrPostCallback TelCallOperationCompleted;
  41. private bool useDefaultCredentialsSetExplicitly;
  42. /// <remarks/>
  43. public Service1() {
  44. this.Url = global::WindowsApplication1.Properties.Settings.Default.WindowsApplication1_Service1_Service1;
  45. if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
  46. this.UseDefaultCredentials = true;
  47. this.useDefaultCredentialsSetExplicitly = false;
  48. }
  49. else {
  50. this.useDefaultCredentialsSetExplicitly = true;
  51. }
  52. }
  53. public new string Url {
  54. get {
  55. return base.Url;
  56. }
  57. set {
  58. if ((((this.IsLocalFileSystemWebService(base.Url) == true)
  59. && (this.useDefaultCredentialsSetExplicitly == false))
  60. && (this.IsLocalFileSystemWebService(value) == false))) {
  61. base.UseDefaultCredentials = false;
  62. }
  63. base.Url = value;
  64. }
  65. }
  66. public new bool UseDefaultCredentials {
  67. get {
  68. return base.UseDefaultCredentials;
  69. }
  70. set {
  71. base.UseDefaultCredentials = value;
  72. this.useDefaultCredentialsSetExplicitly = true;
  73. }
  74. }
  75. /// <remarks/>
  76. public event RegineUserCompletedEventHandler RegineUserCompleted;
  77. /// <remarks/>
  78. public event GetUserInfoCompletedEventHandler GetUserInfoCompleted;
  79. /// <remarks/>
  80. public event EditUserPwdCompletedEventHandler EditUserPwdCompleted;
  81. /// <remarks/>
  82. public event SendMessagesCompletedEventHandler SendMessagesCompleted;
  83. /// <remarks/>
  84. public event SendFaxCompletedEventHandler SendFaxCompleted;
  85. /// <remarks/>
  86. public event SendMMSCompletedEventHandler SendMMSCompleted;
  87. /// <remarks/>
  88. public event GetMessageInfoCompletedEventHandler GetMessageInfoCompleted;
  89. /// <remarks/>
  90. public event SendVoiceCompletedEventHandler SendVoiceCompleted;
  91. /// <remarks/>
  92. public event GetFaxRecordCompletedEventHandler GetFaxRecordCompleted;
  93. /// <remarks/>
  94. public event GetVoiceRecordCompletedEventHandler GetVoiceRecordCompleted;
  95. /// <remarks/>
  96. public event GetMessageRecordCompletedEventHandler GetMessageRecordCompleted;
  97. /// <remarks/>
  98. public event GET_SMS_MOCompletedEventHandler GET_SMS_MOCompleted;
  99. /// <remarks/>
  100. public event GET_MSP_MOCompletedEventHandler GET_MSP_MOCompleted;
  101. /// <remarks/>
  102. public event TelCallCompletedEventHandler TelCallCompleted;
  103. /// <remarks/>
  104. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/RegineUser", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  105. public string RegineUser(string uid, string pwd, string agent_code, string co_name, string link_man, string mob) {
  106. object[] results = this.Invoke("RegineUser", new object[] {
  107. uid,
  108. pwd,
  109. agent_code,
  110. co_name,
  111. link_man,
  112. mob});
  113. return ((string)(results[0]));
  114. }
  115. /// <remarks/>
  116. public System.IAsyncResult BeginRegineUser(string uid, string pwd, string agent_code, string co_name, string link_man, string mob, System.AsyncCallback callback, object asyncState) {
  117. return this.BeginInvoke("RegineUser", new object[] {
  118. uid,
  119. pwd,
  120. agent_code,
  121. co_name,
  122. link_man,
  123. mob}, callback, asyncState);
  124. }
  125. /// <remarks/>
  126. public string EndRegineUser(System.IAsyncResult asyncResult) {
  127. object[] results = this.EndInvoke(asyncResult);
  128. return ((string)(results[0]));
  129. }
  130. /// <remarks/>
  131. public void RegineUserAsync(string uid, string pwd, string agent_code, string co_name, string link_man, string mob) {
  132. this.RegineUserAsync(uid, pwd, agent_code, co_name, link_man, mob, null);
  133. }
  134. /// <remarks/>
  135. public void RegineUserAsync(string uid, string pwd, string agent_code, string co_name, string link_man, string mob, object userState) {
  136. if ((this.RegineUserOperationCompleted == null)) {
  137. this.RegineUserOperationCompleted = new System.Threading.SendOrPostCallback(this.OnRegineUserOperationCompleted);
  138. }
  139. this.InvokeAsync("RegineUser", new object[] {
  140. uid,
  141. pwd,
  142. agent_code,
  143. co_name,
  144. link_man,
  145. mob}, this.RegineUserOperationCompleted, userState);
  146. }
  147. private void OnRegineUserOperationCompleted(object arg) {
  148. if ((this.RegineUserCompleted != null)) {
  149. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  150. this.RegineUserCompleted(this, new RegineUserCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  151. }
  152. }
  153. /// <remarks/>
  154. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetUserInfo", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  155. public string GetUserInfo(string uid, string pwd) {
  156. object[] results = this.Invoke("GetUserInfo", new object[] {
  157. uid,
  158. pwd});
  159. return ((string)(results[0]));
  160. }
  161. /// <remarks/>
  162. public System.IAsyncResult BeginGetUserInfo(string uid, string pwd, System.AsyncCallback callback, object asyncState) {
  163. return this.BeginInvoke("GetUserInfo", new object[] {
  164. uid,
  165. pwd}, callback, asyncState);
  166. }
  167. /// <remarks/>
  168. public string EndGetUserInfo(System.IAsyncResult asyncResult) {
  169. object[] results = this.EndInvoke(asyncResult);
  170. return ((string)(results[0]));
  171. }
  172. /// <remarks/>
  173. public void GetUserInfoAsync(string uid, string pwd) {
  174. this.GetUserInfoAsync(uid, pwd, null);
  175. }
  176. /// <remarks/>
  177. public void GetUserInfoAsync(string uid, string pwd, object userState) {
  178. if ((this.GetUserInfoOperationCompleted == null)) {
  179. this.GetUserInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetUserInfoOperationCompleted);
  180. }
  181. this.InvokeAsync("GetUserInfo", new object[] {
  182. uid,
  183. pwd}, this.GetUserInfoOperationCompleted, userState);
  184. }
  185. private void OnGetUserInfoOperationCompleted(object arg) {
  186. if ((this.GetUserInfoCompleted != null)) {
  187. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  188. this.GetUserInfoCompleted(this, new GetUserInfoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  189. }
  190. }
  191. /// <remarks/>
  192. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/EditUserPwd", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  193. public string EditUserPwd(string uid, string pwd, string newpwd) {
  194. object[] results = this.Invoke("EditUserPwd", new object[] {
  195. uid,
  196. pwd,
  197. newpwd});
  198. return ((string)(results[0]));
  199. }
  200. /// <remarks/>
  201. public System.IAsyncResult BeginEditUserPwd(string uid, string pwd, string newpwd, System.AsyncCallback callback, object asyncState) {
  202. return this.BeginInvoke("EditUserPwd", new object[] {
  203. uid,
  204. pwd,
  205. newpwd}, callback, asyncState);
  206. }
  207. /// <remarks/>
  208. public string EndEditUserPwd(System.IAsyncResult asyncResult) {
  209. object[] results = this.EndInvoke(asyncResult);
  210. return ((string)(results[0]));
  211. }
  212. /// <remarks/>
  213. public void EditUserPwdAsync(string uid, string pwd, string newpwd) {
  214. this.EditUserPwdAsync(uid, pwd, newpwd, null);
  215. }
  216. /// <remarks/>
  217. public void EditUserPwdAsync(string uid, string pwd, string newpwd, object userState) {
  218. if ((this.EditUserPwdOperationCompleted == null)) {
  219. this.EditUserPwdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnEditUserPwdOperationCompleted);
  220. }
  221. this.InvokeAsync("EditUserPwd", new object[] {
  222. uid,
  223. pwd,
  224. newpwd}, this.EditUserPwdOperationCompleted, userState);
  225. }
  226. private void OnEditUserPwdOperationCompleted(object arg) {
  227. if ((this.EditUserPwdCompleted != null)) {
  228. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  229. this.EditUserPwdCompleted(this, new EditUserPwdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  230. }
  231. }
  232. /// <remarks/>
  233. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SendMessages", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  234. public string SendMessages(string uid, string pwd, string tos, string msg, string otime) {
  235. object[] results = this.Invoke("SendMessages", new object[] {
  236. uid,
  237. pwd,
  238. tos,
  239. msg,
  240. otime});
  241. return ((string)(results[0]));
  242. }
  243. /// <remarks/>
  244. public System.IAsyncResult BeginSendMessages(string uid, string pwd, string tos, string msg, string otime, System.AsyncCallback callback, object asyncState) {
  245. return this.BeginInvoke("SendMessages", new object[] {
  246. uid,
  247. pwd,
  248. tos,
  249. msg,
  250. otime}, callback, asyncState);
  251. }
  252. /// <remarks/>
  253. public string EndSendMessages(System.IAsyncResult asyncResult) {
  254. object[] results = this.EndInvoke(asyncResult);
  255. return ((string)(results[0]));
  256. }
  257. /// <remarks/>
  258. public void SendMessagesAsync(string uid, string pwd, string tos, string msg, string otime) {
  259. this.SendMessagesAsync(uid, pwd, tos, msg, otime, null);
  260. }
  261. /// <remarks/>
  262. public void SendMessagesAsync(string uid, string pwd, string tos, string msg, string otime, object userState) {
  263. if ((this.SendMessagesOperationCompleted == null)) {
  264. this.SendMessagesOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendMessagesOperationCompleted);
  265. }
  266. this.InvokeAsync("SendMessages", new object[] {
  267. uid,
  268. pwd,
  269. tos,
  270. msg,
  271. otime}, this.SendMessagesOperationCompleted, userState);
  272. }
  273. private void OnSendMessagesOperationCompleted(object arg) {
  274. if ((this.SendMessagesCompleted != null)) {
  275. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  276. this.SendMessagesCompleted(this, new SendMessagesCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  277. }
  278. }
  279. /// <remarks/>
  280. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SendFax", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  281. public string SendFax(string uid, string pwd, string faxno, string men, string title, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] Bytes, string FileName) {
  282. object[] results = this.Invoke("SendFax", new object[] {
  283. uid,
  284. pwd,
  285. faxno,
  286. men,
  287. title,
  288. Bytes,
  289. FileName});
  290. return ((string)(results[0]));
  291. }
  292. /// <remarks/>
  293. public System.IAsyncResult BeginSendFax(string uid, string pwd, string faxno, string men, string title, byte[] Bytes, string FileName, System.AsyncCallback callback, object asyncState) {
  294. return this.BeginInvoke("SendFax", new object[] {
  295. uid,
  296. pwd,
  297. faxno,
  298. men,
  299. title,
  300. Bytes,
  301. FileName}, callback, asyncState);
  302. }
  303. /// <remarks/>
  304. public string EndSendFax(System.IAsyncResult asyncResult) {
  305. object[] results = this.EndInvoke(asyncResult);
  306. return ((string)(results[0]));
  307. }
  308. /// <remarks/>
  309. public void SendFaxAsync(string uid, string pwd, string faxno, string men, string title, byte[] Bytes, string FileName) {
  310. this.SendFaxAsync(uid, pwd, faxno, men, title, Bytes, FileName, null);
  311. }
  312. /// <remarks/>
  313. public void SendFaxAsync(string uid, string pwd, string faxno, string men, string title, byte[] Bytes, string FileName, object userState) {
  314. if ((this.SendFaxOperationCompleted == null)) {
  315. this.SendFaxOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendFaxOperationCompleted);
  316. }
  317. this.InvokeAsync("SendFax", new object[] {
  318. uid,
  319. pwd,
  320. faxno,
  321. men,
  322. title,
  323. Bytes,
  324. FileName}, this.SendFaxOperationCompleted, userState);
  325. }
  326. private void OnSendFaxOperationCompleted(object arg) {
  327. if ((this.SendFaxCompleted != null)) {
  328. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  329. this.SendFaxCompleted(this, new SendFaxCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  330. }
  331. }
  332. /// <remarks/>
  333. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SendMMS", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  334. public string SendMMS(string uid, string pwd, string mobno, string title, string content, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] Bytes, string mmsFileName) {
  335. object[] results = this.Invoke("SendMMS", new object[] {
  336. uid,
  337. pwd,
  338. mobno,
  339. title,
  340. content,
  341. Bytes,
  342. mmsFileName});
  343. return ((string)(results[0]));
  344. }
  345. /// <remarks/>
  346. public System.IAsyncResult BeginSendMMS(string uid, string pwd, string mobno, string title, string content, byte[] Bytes, string mmsFileName, System.AsyncCallback callback, object asyncState) {
  347. return this.BeginInvoke("SendMMS", new object[] {
  348. uid,
  349. pwd,
  350. mobno,
  351. title,
  352. content,
  353. Bytes,
  354. mmsFileName}, callback, asyncState);
  355. }
  356. /// <remarks/>
  357. public string EndSendMMS(System.IAsyncResult asyncResult) {
  358. object[] results = this.EndInvoke(asyncResult);
  359. return ((string)(results[0]));
  360. }
  361. /// <remarks/>
  362. public void SendMMSAsync(string uid, string pwd, string mobno, string title, string content, byte[] Bytes, string mmsFileName) {
  363. this.SendMMSAsync(uid, pwd, mobno, title, content, Bytes, mmsFileName, null);
  364. }
  365. /// <remarks/>
  366. public void SendMMSAsync(string uid, string pwd, string mobno, string title, string content, byte[] Bytes, string mmsFileName, object userState) {
  367. if ((this.SendMMSOperationCompleted == null)) {
  368. this.SendMMSOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendMMSOperationCompleted);
  369. }
  370. this.InvokeAsync("SendMMS", new object[] {
  371. uid,
  372. pwd,
  373. mobno,
  374. title,
  375. content,
  376. Bytes,
  377. mmsFileName}, this.SendMMSOperationCompleted, userState);
  378. }
  379. private void OnSendMMSOperationCompleted(object arg) {
  380. if ((this.SendMMSCompleted != null)) {
  381. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  382. this.SendMMSCompleted(this, new SendMMSCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  383. }
  384. }
  385. /// <remarks/>
  386. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetMessageInfo", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  387. public string GetMessageInfo(string snum) {
  388. object[] results = this.Invoke("GetMessageInfo", new object[] {
  389. snum});
  390. return ((string)(results[0]));
  391. }
  392. /// <remarks/>
  393. public System.IAsyncResult BeginGetMessageInfo(string snum, System.AsyncCallback callback, object asyncState) {
  394. return this.BeginInvoke("GetMessageInfo", new object[] {
  395. snum}, callback, asyncState);
  396. }
  397. /// <remarks/>
  398. public string EndGetMessageInfo(System.IAsyncResult asyncResult) {
  399. object[] results = this.EndInvoke(asyncResult);
  400. return ((string)(results[0]));
  401. }
  402. /// <remarks/>
  403. public void GetMessageInfoAsync(string snum) {
  404. this.GetMessageInfoAsync(snum, null);
  405. }
  406. /// <remarks/>
  407. public void GetMessageInfoAsync(string snum, object userState) {
  408. if ((this.GetMessageInfoOperationCompleted == null)) {
  409. this.GetMessageInfoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetMessageInfoOperationCompleted);
  410. }
  411. this.InvokeAsync("GetMessageInfo", new object[] {
  412. snum}, this.GetMessageInfoOperationCompleted, userState);
  413. }
  414. private void OnGetMessageInfoOperationCompleted(object arg) {
  415. if ((this.GetMessageInfoCompleted != null)) {
  416. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  417. this.GetMessageInfoCompleted(this, new GetMessageInfoCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  418. }
  419. }
  420. /// <remarks/>
  421. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SendVoice", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  422. public string SendVoice(string uid, string pwd, string vto, string vtxt, string mode, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] byte[] FileBytes, string svrno, string str_time, string end_time) {
  423. object[] results = this.Invoke("SendVoice", new object[] {
  424. uid,
  425. pwd,
  426. vto,
  427. vtxt,
  428. mode,
  429. FileBytes,
  430. svrno,
  431. str_time,
  432. end_time});
  433. return ((string)(results[0]));
  434. }
  435. /// <remarks/>
  436. public System.IAsyncResult BeginSendVoice(string uid, string pwd, string vto, string vtxt, string mode, byte[] FileBytes, string svrno, string str_time, string end_time, System.AsyncCallback callback, object asyncState) {
  437. return this.BeginInvoke("SendVoice", new object[] {
  438. uid,
  439. pwd,
  440. vto,
  441. vtxt,
  442. mode,
  443. FileBytes,
  444. svrno,
  445. str_time,
  446. end_time}, callback, asyncState);
  447. }
  448. /// <remarks/>
  449. public string EndSendVoice(System.IAsyncResult asyncResult) {
  450. object[] results = this.EndInvoke(asyncResult);
  451. return ((string)(results[0]));
  452. }
  453. /// <remarks/>
  454. public void SendVoiceAsync(string uid, string pwd, string vto, string vtxt, string mode, byte[] FileBytes, string svrno, string str_time, string end_time) {
  455. this.SendVoiceAsync(uid, pwd, vto, vtxt, mode, FileBytes, svrno, str_time, end_time, null);
  456. }
  457. /// <remarks/>
  458. public void SendVoiceAsync(string uid, string pwd, string vto, string vtxt, string mode, byte[] FileBytes, string svrno, string str_time, string end_time, object userState) {
  459. if ((this.SendVoiceOperationCompleted == null)) {
  460. this.SendVoiceOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendVoiceOperationCompleted);
  461. }
  462. this.InvokeAsync("SendVoice", new object[] {
  463. uid,
  464. pwd,
  465. vto,
  466. vtxt,
  467. mode,
  468. FileBytes,
  469. svrno,
  470. str_time,
  471. end_time}, this.SendVoiceOperationCompleted, userState);
  472. }
  473. private void OnSendVoiceOperationCompleted(object arg) {
  474. if ((this.SendVoiceCompleted != null)) {
  475. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  476. this.SendVoiceCompleted(this, new SendVoiceCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  477. }
  478. }
  479. /// <remarks/>
  480. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetFaxRecord", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  481. public string GetFaxRecord(string uid, string pwd, string num, string StartDate, string EndDate) {
  482. object[] results = this.Invoke("GetFaxRecord", new object[] {
  483. uid,
  484. pwd,
  485. num,
  486. StartDate,
  487. EndDate});
  488. return ((string)(results[0]));
  489. }
  490. /// <remarks/>
  491. public System.IAsyncResult BeginGetFaxRecord(string uid, string pwd, string num, string StartDate, string EndDate, System.AsyncCallback callback, object asyncState) {
  492. return this.BeginInvoke("GetFaxRecord", new object[] {
  493. uid,
  494. pwd,
  495. num,
  496. StartDate,
  497. EndDate}, callback, asyncState);
  498. }
  499. /// <remarks/>
  500. public string EndGetFaxRecord(System.IAsyncResult asyncResult) {
  501. object[] results = this.EndInvoke(asyncResult);
  502. return ((string)(results[0]));
  503. }
  504. /// <remarks/>
  505. public void GetFaxRecordAsync(string uid, string pwd, string num, string StartDate, string EndDate) {
  506. this.GetFaxRecordAsync(uid, pwd, num, StartDate, EndDate, null);
  507. }
  508. /// <remarks/>
  509. public void GetFaxRecordAsync(string uid, string pwd, string num, string StartDate, string EndDate, object userState) {
  510. if ((this.GetFaxRecordOperationCompleted == null)) {
  511. this.GetFaxRecordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetFaxRecordOperationCompleted);
  512. }
  513. this.InvokeAsync("GetFaxRecord", new object[] {
  514. uid,
  515. pwd,
  516. num,
  517. StartDate,
  518. EndDate}, this.GetFaxRecordOperationCompleted, userState);
  519. }
  520. private void OnGetFaxRecordOperationCompleted(object arg) {
  521. if ((this.GetFaxRecordCompleted != null)) {
  522. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  523. this.GetFaxRecordCompleted(this, new GetFaxRecordCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  524. }
  525. }
  526. /// <remarks/>
  527. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetVoiceRecord", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  528. public string GetVoiceRecord(string uid, string pwd, string num, string StartDate, string EndDate) {
  529. object[] results = this.Invoke("GetVoiceRecord", new object[] {
  530. uid,
  531. pwd,
  532. num,
  533. StartDate,
  534. EndDate});
  535. return ((string)(results[0]));
  536. }
  537. /// <remarks/>
  538. public System.IAsyncResult BeginGetVoiceRecord(string uid, string pwd, string num, string StartDate, string EndDate, System.AsyncCallback callback, object asyncState) {
  539. return this.BeginInvoke("GetVoiceRecord", new object[] {
  540. uid,
  541. pwd,
  542. num,
  543. StartDate,
  544. EndDate}, callback, asyncState);
  545. }
  546. /// <remarks/>
  547. public string EndGetVoiceRecord(System.IAsyncResult asyncResult) {
  548. object[] results = this.EndInvoke(asyncResult);
  549. return ((string)(results[0]));
  550. }
  551. /// <remarks/>
  552. public void GetVoiceRecordAsync(string uid, string pwd, string num, string StartDate, string EndDate) {
  553. this.GetVoiceRecordAsync(uid, pwd, num, StartDate, EndDate, null);
  554. }
  555. /// <remarks/>
  556. public void GetVoiceRecordAsync(string uid, string pwd, string num, string StartDate, string EndDate, object userState) {
  557. if ((this.GetVoiceRecordOperationCompleted == null)) {
  558. this.GetVoiceRecordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetVoiceRecordOperationCompleted);
  559. }
  560. this.InvokeAsync("GetVoiceRecord", new object[] {
  561. uid,
  562. pwd,
  563. num,
  564. StartDate,
  565. EndDate}, this.GetVoiceRecordOperationCompleted, userState);
  566. }
  567. private void OnGetVoiceRecordOperationCompleted(object arg) {
  568. if ((this.GetVoiceRecordCompleted != null)) {
  569. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  570. this.GetVoiceRecordCompleted(this, new GetVoiceRecordCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  571. }
  572. }
  573. /// <remarks/>
  574. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetMessageRecord", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  575. public string GetMessageRecord(string uid, string pwd, string num, string StartDate, string EndDate, string isday) {
  576. object[] results = this.Invoke("GetMessageRecord", new object[] {
  577. uid,
  578. pwd,
  579. num,
  580. StartDate,
  581. EndDate,
  582. isday});
  583. return ((string)(results[0]));
  584. }
  585. /// <remarks/>
  586. public System.IAsyncResult BeginGetMessageRecord(string uid, string pwd, string num, string StartDate, string EndDate, string isday, System.AsyncCallback callback, object asyncState) {
  587. return this.BeginInvoke("GetMessageRecord", new object[] {
  588. uid,
  589. pwd,
  590. num,
  591. StartDate,
  592. EndDate,
  593. isday}, callback, asyncState);
  594. }
  595. /// <remarks/>
  596. public string EndGetMessageRecord(System.IAsyncResult asyncResult) {
  597. object[] results = this.EndInvoke(asyncResult);
  598. return ((string)(results[0]));
  599. }
  600. /// <remarks/>
  601. public void GetMessageRecordAsync(string uid, string pwd, string num, string StartDate, string EndDate, string isday) {
  602. this.GetMessageRecordAsync(uid, pwd, num, StartDate, EndDate, isday, null);
  603. }
  604. /// <remarks/>
  605. public void GetMessageRecordAsync(string uid, string pwd, string num, string StartDate, string EndDate, string isday, object userState) {
  606. if ((this.GetMessageRecordOperationCompleted == null)) {
  607. this.GetMessageRecordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetMessageRecordOperationCompleted);
  608. }
  609. this.InvokeAsync("GetMessageRecord", new object[] {
  610. uid,
  611. pwd,
  612. num,
  613. StartDate,
  614. EndDate,
  615. isday}, this.GetMessageRecordOperationCompleted, userState);
  616. }
  617. private void OnGetMessageRecordOperationCompleted(object arg) {
  618. if ((this.GetMessageRecordCompleted != null)) {
  619. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  620. this.GetMessageRecordCompleted(this, new GetMessageRecordCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  621. }
  622. }
  623. /// <remarks/>
  624. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GET_SMS_MO", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  625. public string GET_SMS_MO(string uid, string pwd, string IDtype) {
  626. object[] results = this.Invoke("GET_SMS_MO", new object[] {
  627. uid,
  628. pwd,
  629. IDtype});
  630. return ((string)(results[0]));
  631. }
  632. /// <remarks/>
  633. public System.IAsyncResult BeginGET_SMS_MO(string uid, string pwd, string IDtype, System.AsyncCallback callback, object asyncState) {
  634. return this.BeginInvoke("GET_SMS_MO", new object[] {
  635. uid,
  636. pwd,
  637. IDtype}, callback, asyncState);
  638. }
  639. /// <remarks/>
  640. public string EndGET_SMS_MO(System.IAsyncResult asyncResult) {
  641. object[] results = this.EndInvoke(asyncResult);
  642. return ((string)(results[0]));
  643. }
  644. /// <remarks/>
  645. public void GET_SMS_MOAsync(string uid, string pwd, string IDtype) {
  646. this.GET_SMS_MOAsync(uid, pwd, IDtype, null);
  647. }
  648. /// <remarks/>
  649. public void GET_SMS_MOAsync(string uid, string pwd, string IDtype, object userState) {
  650. if ((this.GET_SMS_MOOperationCompleted == null)) {
  651. this.GET_SMS_MOOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGET_SMS_MOOperationCompleted);
  652. }
  653. this.InvokeAsync("GET_SMS_MO", new object[] {
  654. uid,
  655. pwd,
  656. IDtype}, this.GET_SMS_MOOperationCompleted, userState);
  657. }
  658. private void OnGET_SMS_MOOperationCompleted(object arg) {
  659. if ((this.GET_SMS_MOCompleted != null)) {
  660. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  661. this.GET_SMS_MOCompleted(this, new GET_SMS_MOCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  662. }
  663. }
  664. /// <remarks/>
  665. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GET_MSP_MO", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  666. public string GET_MSP_MO(string uid, string pwd, string IDtype) {
  667. object[] results = this.Invoke("GET_MSP_MO", new object[] {
  668. uid,
  669. pwd,
  670. IDtype});
  671. return ((string)(results[0]));
  672. }
  673. /// <remarks/>
  674. public System.IAsyncResult BeginGET_MSP_MO(string uid, string pwd, string IDtype, System.AsyncCallback callback, object asyncState) {
  675. return this.BeginInvoke("GET_MSP_MO", new object[] {
  676. uid,
  677. pwd,
  678. IDtype}, callback, asyncState);
  679. }
  680. /// <remarks/>
  681. public string EndGET_MSP_MO(System.IAsyncResult asyncResult) {
  682. object[] results = this.EndInvoke(asyncResult);
  683. return ((string)(results[0]));
  684. }
  685. /// <remarks/>
  686. public void GET_MSP_MOAsync(string uid, string pwd, string IDtype) {
  687. this.GET_MSP_MOAsync(uid, pwd, IDtype, null);
  688. }
  689. /// <remarks/>
  690. public void GET_MSP_MOAsync(string uid, string pwd, string IDtype, object userState) {
  691. if ((this.GET_MSP_MOOperationCompleted == null)) {
  692. this.GET_MSP_MOOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGET_MSP_MOOperationCompleted);
  693. }
  694. this.InvokeAsync("GET_MSP_MO", new object[] {
  695. uid,
  696. pwd,
  697. IDtype}, this.GET_MSP_MOOperationCompleted, userState);
  698. }
  699. private void OnGET_MSP_MOOperationCompleted(object arg) {
  700. if ((this.GET_MSP_MOCompleted != null)) {
  701. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  702. this.GET_MSP_MOCompleted(this, new GET_MSP_MOCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  703. }
  704. }
  705. /// <remarks/>
  706. [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/TelCall", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  707. public string TelCall(string uid, string pwd, string host_call, string caller) {
  708. object[] results = this.Invoke("TelCall", new object[] {
  709. uid,
  710. pwd,
  711. host_call,
  712. caller});
  713. return ((string)(results[0]));
  714. }
  715. /// <remarks/>
  716. public System.IAsyncResult BeginTelCall(string uid, string pwd, string host_call, string caller, System.AsyncCallback callback, object asyncState) {
  717. return this.BeginInvoke("TelCall", new object[] {
  718. uid,
  719. pwd,
  720. host_call,
  721. caller}, callback, asyncState);
  722. }
  723. /// <remarks/>
  724. public string EndTelCall(System.IAsyncResult asyncResult) {
  725. object[] results = this.EndInvoke(asyncResult);
  726. return ((string)(results[0]));
  727. }
  728. /// <remarks/>
  729. public void TelCallAsync(string uid, string pwd, string host_call, string caller) {
  730. this.TelCallAsync(uid, pwd, host_call, caller, null);
  731. }
  732. /// <remarks/>
  733. public void TelCallAsync(string uid, string pwd, string host_call, string caller, object userState) {
  734. if ((this.TelCallOperationCompleted == null)) {
  735. this.TelCallOperationCompleted = new System.Threading.SendOrPostCallback(this.OnTelCallOperationCompleted);
  736. }
  737. this.InvokeAsync("TelCall", new object[] {
  738. uid,
  739. pwd,
  740. host_call,
  741. caller}, this.TelCallOperationCompleted, userState);
  742. }
  743. private void OnTelCallOperationCompleted(object arg) {
  744. if ((this.TelCallCompleted != null)) {
  745. System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
  746. this.TelCallCompleted(this, new TelCallCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
  747. }
  748. }
  749. /// <remarks/>
  750. public new void CancelAsync(object userState) {
  751. base.CancelAsync(userState);
  752. }
  753. private bool IsLocalFileSystemWebService(string url) {
  754. if (((url == null)
  755. || (url == string.Empty))) {
  756. return false;
  757. }
  758. System.Uri wsUri = new System.Uri(url);
  759. if (((wsUri.Port >= 1024)
  760. && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
  761. return true;
  762. }
  763. return false;
  764. }
  765. }
  766. /// <remarks/>
  767. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  768. public delegate void RegineUserCompletedEventHandler(object sender, RegineUserCompletedEventArgs e);
  769. /// <remarks/>
  770. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  771. [System.Diagnostics.DebuggerStepThroughAttribute()]
  772. [System.ComponentModel.DesignerCategoryAttribute("code")]
  773. public partial class RegineUserCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  774. private object[] results;
  775. internal RegineUserCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  776. base(exception, cancelled, userState) {
  777. this.results = results;
  778. }
  779. /// <remarks/>
  780. public string Result {
  781. get {
  782. this.RaiseExceptionIfNecessary();
  783. return ((string)(this.results[0]));
  784. }
  785. }
  786. }
  787. /// <remarks/>
  788. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  789. public delegate void GetUserInfoCompletedEventHandler(object sender, GetUserInfoCompletedEventArgs e);
  790. /// <remarks/>
  791. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  792. [System.Diagnostics.DebuggerStepThroughAttribute()]
  793. [System.ComponentModel.DesignerCategoryAttribute("code")]
  794. public partial class GetUserInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  795. private object[] results;
  796. internal GetUserInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  797. base(exception, cancelled, userState) {
  798. this.results = results;
  799. }
  800. /// <remarks/>
  801. public string Result {
  802. get {
  803. this.RaiseExceptionIfNecessary();
  804. return ((string)(this.results[0]));
  805. }
  806. }
  807. }
  808. /// <remarks/>
  809. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  810. public delegate void EditUserPwdCompletedEventHandler(object sender, EditUserPwdCompletedEventArgs e);
  811. /// <remarks/>
  812. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  813. [System.Diagnostics.DebuggerStepThroughAttribute()]
  814. [System.ComponentModel.DesignerCategoryAttribute("code")]
  815. public partial class EditUserPwdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  816. private object[] results;
  817. internal EditUserPwdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  818. base(exception, cancelled, userState) {
  819. this.results = results;
  820. }
  821. /// <remarks/>
  822. public string Result {
  823. get {
  824. this.RaiseExceptionIfNecessary();
  825. return ((string)(this.results[0]));
  826. }
  827. }
  828. }
  829. /// <remarks/>
  830. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  831. public delegate void SendMessagesCompletedEventHandler(object sender, SendMessagesCompletedEventArgs e);
  832. /// <remarks/>
  833. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  834. [System.Diagnostics.DebuggerStepThroughAttribute()]
  835. [System.ComponentModel.DesignerCategoryAttribute("code")]
  836. public partial class SendMessagesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  837. private object[] results;
  838. internal SendMessagesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  839. base(exception, cancelled, userState) {
  840. this.results = results;
  841. }
  842. /// <remarks/>
  843. public string Result {
  844. get {
  845. this.RaiseExceptionIfNecessary();
  846. return ((string)(this.results[0]));
  847. }
  848. }
  849. }
  850. /// <remarks/>
  851. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  852. public delegate void SendFaxCompletedEventHandler(object sender, SendFaxCompletedEventArgs e);
  853. /// <remarks/>
  854. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  855. [System.Diagnostics.DebuggerStepThroughAttribute()]
  856. [System.ComponentModel.DesignerCategoryAttribute("code")]
  857. public partial class SendFaxCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  858. private object[] results;
  859. internal SendFaxCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  860. base(exception, cancelled, userState) {
  861. this.results = results;
  862. }
  863. /// <remarks/>
  864. public string Result {
  865. get {
  866. this.RaiseExceptionIfNecessary();
  867. return ((string)(this.results[0]));
  868. }
  869. }
  870. }
  871. /// <remarks/>
  872. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  873. public delegate void SendMMSCompletedEventHandler(object sender, SendMMSCompletedEventArgs e);
  874. /// <remarks/>
  875. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  876. [System.Diagnostics.DebuggerStepThroughAttribute()]
  877. [System.ComponentModel.DesignerCategoryAttribute("code")]
  878. public partial class SendMMSCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  879. private object[] results;
  880. internal SendMMSCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  881. base(exception, cancelled, userState) {
  882. this.results = results;
  883. }
  884. /// <remarks/>
  885. public string Result {
  886. get {
  887. this.RaiseExceptionIfNecessary();
  888. return ((string)(this.results[0]));
  889. }
  890. }
  891. }
  892. /// <remarks/>
  893. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  894. public delegate void GetMessageInfoCompletedEventHandler(object sender, GetMessageInfoCompletedEventArgs e);
  895. /// <remarks/>
  896. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  897. [System.Diagnostics.DebuggerStepThroughAttribute()]
  898. [System.ComponentModel.DesignerCategoryAttribute("code")]
  899. public partial class GetMessageInfoCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  900. private object[] results;
  901. internal GetMessageInfoCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  902. base(exception, cancelled, userState) {
  903. this.results = results;
  904. }
  905. /// <remarks/>
  906. public string Result {
  907. get {
  908. this.RaiseExceptionIfNecessary();
  909. return ((string)(this.results[0]));
  910. }
  911. }
  912. }
  913. /// <remarks/>
  914. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  915. public delegate void SendVoiceCompletedEventHandler(object sender, SendVoiceCompletedEventArgs e);
  916. /// <remarks/>
  917. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  918. [System.Diagnostics.DebuggerStepThroughAttribute()]
  919. [System.ComponentModel.DesignerCategoryAttribute("code")]
  920. public partial class SendVoiceCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  921. private object[] results;
  922. internal SendVoiceCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  923. base(exception, cancelled, userState) {
  924. this.results = results;
  925. }
  926. /// <remarks/>
  927. public string Result {
  928. get {
  929. this.RaiseExceptionIfNecessary();
  930. return ((string)(this.results[0]));
  931. }
  932. }
  933. }
  934. /// <remarks/>
  935. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  936. public delegate void GetFaxRecordCompletedEventHandler(object sender, GetFaxRecordCompletedEventArgs e);
  937. /// <remarks/>
  938. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  939. [System.Diagnostics.DebuggerStepThroughAttribute()]
  940. [System.ComponentModel.DesignerCategoryAttribute("code")]
  941. public partial class GetFaxRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  942. private object[] results;
  943. internal GetFaxRecordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  944. base(exception, cancelled, userState) {
  945. this.results = results;
  946. }
  947. /// <remarks/>
  948. public string Result {
  949. get {
  950. this.RaiseExceptionIfNecessary();
  951. return ((string)(this.results[0]));
  952. }
  953. }
  954. }
  955. /// <remarks/>
  956. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  957. public delegate void GetVoiceRecordCompletedEventHandler(object sender, GetVoiceRecordCompletedEventArgs e);
  958. /// <remarks/>
  959. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  960. [System.Diagnostics.DebuggerStepThroughAttribute()]
  961. [System.ComponentModel.DesignerCategoryAttribute("code")]
  962. public partial class GetVoiceRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  963. private object[] results;
  964. internal GetVoiceRecordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  965. base(exception, cancelled, userState) {
  966. this.results = results;
  967. }
  968. /// <remarks/>
  969. public string Result {
  970. get {
  971. this.RaiseExceptionIfNecessary();
  972. return ((string)(this.results[0]));
  973. }
  974. }
  975. }
  976. /// <remarks/>
  977. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  978. public delegate void GetMessageRecordCompletedEventHandler(object sender, GetMessageRecordCompletedEventArgs e);
  979. /// <remarks/>
  980. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  981. [System.Diagnostics.DebuggerStepThroughAttribute()]
  982. [System.ComponentModel.DesignerCategoryAttribute("code")]
  983. public partial class GetMessageRecordCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  984. private object[] results;
  985. internal GetMessageRecordCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  986. base(exception, cancelled, userState) {
  987. this.results = results;
  988. }
  989. /// <remarks/>
  990. public string Result {
  991. get {
  992. this.RaiseExceptionIfNecessary();
  993. return ((string)(this.results[0]));
  994. }
  995. }
  996. }
  997. /// <remarks/>
  998. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  999. public delegate void GET_SMS_MOCompletedEventHandler(object sender, GET_SMS_MOCompletedEventArgs e);
  1000. /// <remarks/>
  1001. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  1002. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1003. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1004. public partial class GET_SMS_MOCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  1005. private object[] results;
  1006. internal GET_SMS_MOCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  1007. base(exception, cancelled, userState) {
  1008. this.results = results;
  1009. }
  1010. /// <remarks/>
  1011. public string Result {
  1012. get {
  1013. this.RaiseExceptionIfNecessary();
  1014. return ((string)(this.results[0]));
  1015. }
  1016. }
  1017. }
  1018. /// <remarks/>
  1019. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  1020. public delegate void GET_MSP_MOCompletedEventHandler(object sender, GET_MSP_MOCompletedEventArgs e);
  1021. /// <remarks/>
  1022. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  1023. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1024. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1025. public partial class GET_MSP_MOCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  1026. private object[] results;
  1027. internal GET_MSP_MOCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  1028. base(exception, cancelled, userState) {
  1029. this.results = results;
  1030. }
  1031. /// <remarks/>
  1032. public string Result {
  1033. get {
  1034. this.RaiseExceptionIfNecessary();
  1035. return ((string)(this.results[0]));
  1036. }
  1037. }
  1038. }
  1039. /// <remarks/>
  1040. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  1041. public delegate void TelCallCompletedEventHandler(object sender, TelCallCompletedEventArgs e);
  1042. /// <remarks/>
  1043. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.18408")]
  1044. [System.Diagnostics.DebuggerStepThroughAttribute()]
  1045. [System.ComponentModel.DesignerCategoryAttribute("code")]
  1046. public partial class TelCallCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
  1047. private object[] results;
  1048. internal TelCallCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
  1049. base(exception, cancelled, userState) {
  1050. this.results = results;
  1051. }
  1052. /// <remarks/>
  1053. public string Result {
  1054. get {
  1055. this.RaiseExceptionIfNecessary();
  1056. return ((string)(this.results[0]));
  1057. }
  1058. }
  1059. }
  1060. }
  1061. #pragma warning restore 1591