Reference.cs
上传用户:xgw_05
上传日期:2009-12-11
资源大小:20208k
文件大小:2k
源码类别:

OA系统

开发平台:

C#

  1. //------------------------------------------------------------------------------
  2. // <autogenerated>
  3. //     This code was generated by a tool.
  4. //     Runtime Version: 1.0.3705.288
  5. //
  6. //     Changes to this file may cause incorrect behavior and will be lost if 
  7. //     the code is regenerated.
  8. // </autogenerated>
  9. //------------------------------------------------------------------------------
  10. // 
  11. // This source code was auto-generated by Microsoft.VSDesigner, Version 1.0.3705.288.
  12. // 
  13. namespace UDS.wsms {
  14.     using System.Diagnostics;
  15.     using System.Xml.Serialization;
  16.     using System;
  17.     using System.Web.Services.Protocols;
  18.     using System.ComponentModel;
  19.     using System.Web.Services;
  20.     
  21.     
  22.     /// <remarks/>
  23.     [System.Diagnostics.DebuggerStepThroughAttribute()]
  24.     [System.ComponentModel.DesignerCategoryAttribute("code")]
  25.     [System.Web.Services.WebServiceBindingAttribute(Name="smsSoap", Namespace="http://tempuri.org/")]
  26.     public class sms : System.Web.Services.Protocols.SoapHttpClientProtocol {
  27.         
  28.         /// <remarks/>
  29.         public sms() {
  30.             this.Url = "http://192.168.0.244/wsms/sms.asmx";
  31.         }
  32.         
  33.         /// <remarks/>
  34.         [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SendMsg", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  35.         public int SendMsg(string Msg, string MobileNo, int MsgIndex, bool IsZh) {
  36.             object[] results = this.Invoke("SendMsg", new object[] {
  37.                         Msg,
  38.                         MobileNo,
  39.                         MsgIndex,
  40.                         IsZh});
  41.             return ((int)(results[0]));
  42.         }
  43.         
  44.         /// <remarks/>
  45.         public System.IAsyncResult BeginSendMsg(string Msg, string MobileNo, int MsgIndex, bool IsZh, System.AsyncCallback callback, object asyncState) {
  46.             return this.BeginInvoke("SendMsg", new object[] {
  47.                         Msg,
  48.                         MobileNo,
  49.                         MsgIndex,
  50.                         IsZh}, callback, asyncState);
  51.         }
  52.         
  53.         /// <remarks/>
  54.         public int EndSendMsg(System.IAsyncResult asyncResult) {
  55.             object[] results = this.EndInvoke(asyncResult);
  56.             return ((int)(results[0]));
  57.         }
  58.     }
  59. }