📄 reference.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 Job111.WatchShortMsgService {
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="WatchShortMsgSoap", Namespace="http://tempuri.org/")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(object[]))]
public class WatchShortMsg : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public WatchShortMsg() {
// this.Url = "http://localhost/WatchShortMsgService/WatchShortMsg.asmx";
this.Url = new System.IO.StreamReader(@"c:\Job111\config_smsg.ini").ReadLine();
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/RegMsgUser", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int RegMsgUser(int empID, int member, string mobPhone) {
object[] results = this.Invoke("RegMsgUser", new object[] {
empID,
member,
mobPhone});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginRegMsgUser(int empID, int member, string mobPhone, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("RegMsgUser", new object[] {
empID,
member,
mobPhone}, callback, asyncState);
}
/// <remarks/>
public int EndRegMsgUser(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/UnRegMsg", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int UnRegMsg(int empID) {
object[] results = this.Invoke("UnRegMsg", new object[] {
empID});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginUnRegMsg(int empID, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("UnRegMsg", new object[] {
empID}, callback, asyncState);
}
/// <remarks/>
public int EndUnRegMsg(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IsRegUser", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool IsRegUser(int userID) {
object[] results = this.Invoke("IsRegUser", new object[] {
userID});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginIsRegUser(int userID, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("IsRegUser", new object[] {
userID}, callback, asyncState);
}
/// <remarks/>
public bool EndIsRegUser(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/RegConfirm", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int RegConfirm(int empID, string token) {
object[] results = this.Invoke("RegConfirm", new object[] {
empID,
token});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginRegConfirm(int empID, string token, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("RegConfirm", new object[] {
empID,
token}, callback, asyncState);
}
/// <remarks/>
public int EndRegConfirm(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/UnRegByMobPhone", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int UnRegByMobPhone(string mobPhone) {
object[] results = this.Invoke("UnRegByMobPhone", new object[] {
mobPhone});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginUnRegByMobPhone(string mobPhone, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("UnRegByMobPhone", new object[] {
mobPhone}, callback, asyncState);
}
/// <remarks/>
public int EndUnRegByMobPhone(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetMobNumber", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetMobNumber(int empID) {
object[] results = this.Invoke("GetMobNumber", new object[] {
empID});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetMobNumber(int empID, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetMobNumber", new object[] {
empID}, callback, asyncState);
}
/// <remarks/>
public string EndGetMobNumber(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddKey", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int AddKey(int empID, string Key) {
object[] results = this.Invoke("AddKey", new object[] {
empID,
Key});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginAddKey(int empID, string Key, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AddKey", new object[] {
empID,
Key}, callback, asyncState);
}
/// <remarks/>
public int EndAddKey(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteKey", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int DeleteKey(int empID, object[] Key) {
object[] results = this.Invoke("DeleteKey", new object[] {
empID,
Key});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginDeleteKey(int empID, object[] Key, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteKey", new object[] {
empID,
Key}, callback, asyncState);
}
/// <remarks/>
public int EndDeleteKey(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/EditKey", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int EditKey(int empID, string Key, string OldKey) {
object[] results = this.Invoke("EditKey", new object[] {
empID,
Key,
OldKey});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginEditKey(int empID, string Key, string OldKey, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("EditKey", new object[] {
empID,
Key,
OldKey}, callback, asyncState);
}
/// <remarks/>
public int EndEditKey(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ViewListKey", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public System.Data.DataSet ViewListKey(int empID) {
object[] results = this.Invoke("ViewListKey", new object[] {
empID});
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginViewListKey(int empID, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ViewListKey", new object[] {
empID}, callback, asyncState);
}
/// <remarks/>
public System.Data.DataSet EndViewListKey(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SubScribe", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int SubScribe(int empID, object[] Key) {
object[] results = this.Invoke("SubScribe", new object[] {
empID,
Key});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginSubScribe(int empID, object[] Key, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("SubScribe", new object[] {
empID,
Key}, callback, asyncState);
}
/// <remarks/>
public int EndSubScribe(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/IsSend", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool IsSend(int empID, string str, string Msg) {
object[] results = this.Invoke("IsSend", new object[] {
empID,
str,
Msg});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginIsSend(int empID, string str, string Msg, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("IsSend", new object[] {
empID,
str,
Msg}, callback, asyncState);
}
/// <remarks/>
public bool EndIsSend(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -