⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reference.cs

📁 ASP C#代码实例 适合初学人士学习使用
💻 CS
字号:
//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.1.4322.573
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

// 
// 此源代码是由 Microsoft.VSDesigner 1.1.4322.573 版自动生成。
// 
namespace Example_12_18.cn.com.sina.smsinter {
    using System.Diagnostics;
    using System.Xml.Serialization;
    using System;
    using System.Web.Services.Protocols;
    using System.ComponentModel;
    using System.Web.Services;
    
    
    /// <remarks/>
    // CODEGEN: 未处理命名空间“http://schemas.microsoft.com/soap-toolkit/wsdl-extension”中的可选 WSDL 扩展元素“binding”。
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="SMSWebServiceSoapBinding", Namespace="http://outlook.microsoft.com/add-ins/SMS/wsdl/")]
    public class SMSWS : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        /// <remarks/>
        public SMSWS() {
            this.Url = "http://202.108.35.168/cgi-bin/ws/smswebservice0101";
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapRpcMethodAttribute("http://outlook.microsoft.com/add-ins/SMS/action/SMSWebService.sendXml", RequestNamespace="http://outlook.microsoft.com/add-ins/SMS/message/", ResponseNamespace="http://outlook.microsoft.com/add-ins/SMS/message/")]
        [return: System.Xml.Serialization.SoapElementAttribute("Result")]
        public string sendXml(string Carrier, string Id, string Password, string ToMobile, string Message, string MsgType) {
            object[] results = this.Invoke("sendXml", new object[] {
                        Carrier,
                        Id,
                        Password,
                        ToMobile,
                        Message,
                        MsgType});
            return ((string)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginsendXml(string Carrier, string Id, string Password, string ToMobile, string Message, string MsgType, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("sendXml", new object[] {
                        Carrier,
                        Id,
                        Password,
                        ToMobile,
                        Message,
                        MsgType}, callback, asyncState);
        }
        
        /// <remarks/>
        public string EndsendXml(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((string)(results[0]));
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -