📄 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 WorkGroupManager.Task {
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="TaskServiceSoap", Namespace="http://tempuri.org/")]
public class TaskService : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public TaskService() {
this.Url = "http://localhost/WorkGroupService/task/TaskService.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddTask", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool AddTask(task task) {
object[] results = this.Invoke("AddTask", new object[] {
task});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginAddTask(task task, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("AddTask", new object[] {
task}, callback, asyncState);
}
/// <remarks/>
public bool EndAddTask(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteTask", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool DeleteTask(task task) {
object[] results = this.Invoke("DeleteTask", new object[] {
task});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginDeleteTask(task task, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("DeleteTask", new object[] {
task}, callback, asyncState);
}
/// <remarks/>
public bool EndDeleteTask(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ModTask", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public bool ModTask(task task) {
object[] results = this.Invoke("ModTask", new object[] {
task});
return ((bool)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginModTask(task task, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ModTask", new object[] {
task}, callback, asyncState);
}
/// <remarks/>
public bool EndModTask(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((bool)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetTask", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public task GetTask(string[] pks) {
object[] results = this.Invoke("GetTask", new object[] {
pks});
return ((task)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetTask(string[] pks, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetTask", new object[] {
pks}, callback, asyncState);
}
/// <remarks/>
public task EndGetTask(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((task)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/selectSql", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string selectSql(string sqlwhere) {
object[] results = this.Invoke("selectSql", new object[] {
sqlwhere});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginselectSql(string sqlwhere, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("selectSql", new object[] {
sqlwhere}, callback, asyncState);
}
/// <remarks/>
public string EndselectSql(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CreateTaskNO", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string CreateTaskNO(string str) {
object[] results = this.Invoke("CreateTaskNO", new object[] {
str});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginCreateTaskNO(string str, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("CreateTaskNO", new object[] {
str}, callback, asyncState);
}
/// <remarks/>
public string EndCreateTaskNO(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
}
/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
public class task {
/// <remarks/>
public string tNo;
/// <remarks/>
public System.DateTime tDate;
/// <remarks/>
public string tContent;
/// <remarks/>
public string tPromulgator;
/// <remarks/>
public string tExecutor;
/// <remarks/>
public string tName;
/// <remarks/>
public string tRemark;
/// <remarks/>
public System.DateTime tEndDate;
/// <remarks/>
public string tScan;
/// <remarks/>
public string tShare;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -