📄 communityservice.cs
字号:
//------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.0.3705.288
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------------------------------------------------------------------------------
//
// This source code was auto-generated by wsdl, Version=1.0.3705.288.
//
namespace ASPNET.StarterKit.Communities.Services.Client {
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="CommunityServiceSoap", Namespace="http://tempuri.org/")]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(ServiceResponseInfoItem))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(object[]))]
public class CommunityService : System.Web.Services.Protocols.SoapHttpClientProtocol {
public SecurityHeader SecurityHeaderValue;
/// <remarks/>
public CommunityService() {
this.Url = "http://localhost/CommunityStarterKit/communityService.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("SecurityHeaderValue", Required=false)]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetFullCommunityContent", 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 GetFullCommunityContent(string communityName, string sectionPageType, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] System.Byte[] lastTimestamp) {
object[] results = this.Invoke("GetFullCommunityContent", new object[] {
communityName,
sectionPageType,
lastTimestamp});
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetFullCommunityContent(string communityName, string sectionPageType, System.Byte[] lastTimestamp, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetFullCommunityContent", new object[] {
communityName,
sectionPageType,
lastTimestamp}, callback, asyncState);
}
/// <remarks/>
public System.Data.DataSet EndGetFullCommunityContent(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((System.Data.DataSet)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapHeaderAttribute("SecurityHeaderValue", Required=false)]
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetCommunityContent", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public ServiceResponseInfo GetCommunityContent() {
object[] results = this.Invoke("GetCommunityContent", new object[0]);
return ((ServiceResponseInfo)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetCommunityContent(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetCommunityContent", new object[0], callback, asyncState);
}
/// <remarks/>
public ServiceResponseInfo EndGetCommunityContent(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((ServiceResponseInfo)(results[0]));
}
}
/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://tempuri.org/", IsNullable=false)]
public class SecurityHeader : SoapHeader {
/// <remarks/>
public string Password;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -