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

📄 reference.cs

📁 WebService学习的一个非常不错的例子
💻 CS
字号:
//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.1.4322.2300
//
//     Changes to this file may cause incorrect behavior and will be lost if 
//     the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------

// 
// 此源代码是由 Microsoft.VSDesigner 1.1.4322.2300 版自动生成。
// 
namespace ChinaSky.HN.AuthService {
    using System.Diagnostics;
    using System.Xml.Serialization;
    using System;
    using System.Web.Services.Protocols;
    using System.ComponentModel;
    using System.Web.Services;
    
    
    /// <remarks/>
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name="AuthSoapBinding", Namespace="http://61.186.95.188/InterfaceForAp/services/Auth")]
    public class AuthService : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        /// <remarks/>
        public AuthService() {
            this.Url = "http://61.186.95.188/InterfaceForAp/services/Auth";
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapRpcMethodAttribute("", RequestNamespace="http://61.186.95.188/InterfaceForAp/services/Auth", ResponseNamespace="http://61.186.95.188/InterfaceForAp/services/Auth")]
        [return: System.Xml.Serialization.SoapElementAttribute("isUserLoginReturn")]
        public AuthResult isUserLogin(AuthParameter p) {
            object[] results = this.Invoke("isUserLogin", new object[] {
                        p});
            return ((AuthResult)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginisUserLogin(AuthParameter p, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("isUserLogin", new object[] {
                        p}, callback, asyncState);
        }
        
        /// <remarks/>
        public AuthResult EndisUserLogin(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((AuthResult)(results[0]));
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.SoapTypeAttribute("AuthParameter", "http://interfaceforap.bnet.transfar")]
    public class AuthParameter {
        
        /// <remarks/>
        public string apId;
        
        /// <remarks/>
        public string corpId;
        
        /// <remarks/>
        public string ipAddres;
        
        /// <remarks/>
        public string serviceItemId;
        
        /// <remarks/>
        public string sessionToken;
        
        /// <remarks/>
        public string timeStamp;
        
        /// <remarks/>
        public string userAccount;
        
        /// <remarks/>
        public string userId;
        
        /// <remarks/>
        public string userType;
    }
    
    /// <remarks/>
    [System.Xml.Serialization.SoapTypeAttribute("AuthResult", "http://interfaceforap.bnet.transfar")]
    public class AuthResult {
        
        /// <remarks/>
        public string errorInfo;
        
        /// <remarks/>
        public string result;
    }
}

⌨️ 快捷键说明

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