📄 webscjjer.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>
//------------------------------------------------------------------------------
//
// 此源代码由 wsdl, Version=1.1.4322.573 自动生成。
//
namespace Webs {
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="WebsCjjerSoap", Namespace="http://www.cjjer.com/webs/")]
public class WebsCjjer : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public WebsCjjer() {
string urlSetting = System.Configuration.ConfigurationSettings.AppSettings["WebsUser"];
if ((urlSetting != null)) {
this.Url = urlSetting;
}
else {
this.Url = "http://s:81/userapp/login.asmx";
}
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.cjjer.com/webs/Login", RequestNamespace="http://www.cjjer.com/webs/", ResponseNamespace="http://www.cjjer.com/webs/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int Login(string UserName, string UserPassword) {
object[] results = this.Invoke("Login", new object[] {
UserName,
UserPassword});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginLogin(string UserName, string UserPassword, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Login", new object[] {
UserName,
UserPassword}, callback, asyncState);
}
/// <remarks/>
public int EndLogin(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.cjjer.com/webs/AddNew", RequestNamespace="http://www.cjjer.com/webs/", ResponseNamespace="http://www.cjjer.com/webs/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int AddNew(string UserName, string UserPassword) {
object[] results = this.Invoke("AddNew", new object[] {
UserName,
UserPassword});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginAddNew(string UserName, string UserPassword, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AddNew", new object[] {
UserName,
UserPassword}, callback, asyncState);
}
/// <remarks/>
public int EndAddNew(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -