📄 reference.cs
字号:
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.312
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
//
// This source code was auto-generated by Microsoft.CompactFramework.Design.Data, Version 2.0.50727.312.
//
namespace LiveExpoCategories.LiveExpo {
using System.Diagnostics;
using System.Web.Services;
using System.ComponentModel;
using System.Web.Services.Protocols;
using System;
using System.Xml.Serialization;
/// <remarks/>
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="Classifieds_ListingsSoap", Namespace="http://expo.live.com/ns/2006/1.0")]
public partial class Classifieds_Listings : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public Classifieds_Listings() {
this.Url = "http://expo.live.com/API/Classifieds_Listings.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://expo.live.com/ns/2006/1.0/GetSites", RequestNamespace="http://expo.live.com/ns/2006/1.0", ResponseNamespace="http://expo.live.com/ns/2006/1.0", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetSites(string appKey) {
object[] results = this.Invoke("GetSites", new object[] {
appKey});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetSites(string appKey, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetSites", new object[] {
appKey}, callback, asyncState);
}
/// <remarks/>
public string EndGetSites(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://expo.live.com/ns/2006/1.0/GetCategories", RequestNamespace="http://expo.live.com/ns/2006/1.0", ResponseNamespace="http://expo.live.com/ns/2006/1.0", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string GetCategories(int siteId, string appKey) {
object[] results = this.Invoke("GetCategories", new object[] {
siteId,
appKey});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetCategories(int siteId, string appKey, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetCategories", new object[] {
siteId,
appKey}, callback, asyncState);
}
/// <remarks/>
public string EndGetCategories(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://expo.live.com/ns/2006/1.0/ListingsByCategoryKeywordLocation", RequestNamespace="http://expo.live.com/ns/2006/1.0", ResponseNamespace="http://expo.live.com/ns/2006/1.0", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string ListingsByCategoryKeywordLocation(int siteId, string appKey, int page, int pageSize, string orderBy, bool orderAscending, int cat, string keyword, double latitude, double longitude, float maxDist) {
object[] results = this.Invoke("ListingsByCategoryKeywordLocation", new object[] {
siteId,
appKey,
page,
pageSize,
orderBy,
orderAscending,
cat,
keyword,
latitude,
longitude,
maxDist});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginListingsByCategoryKeywordLocation(int siteId, string appKey, int page, int pageSize, string orderBy, bool orderAscending, int cat, string keyword, double latitude, double longitude, float maxDist, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ListingsByCategoryKeywordLocation", new object[] {
siteId,
appKey,
page,
pageSize,
orderBy,
orderAscending,
cat,
keyword,
latitude,
longitude,
maxDist}, callback, asyncState);
}
/// <remarks/>
public string EndListingsByCategoryKeywordLocation(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://expo.live.com/ns/2006/1.0/ListingsByCategoryKeywordLocation_V2", RequestNamespace="http://expo.live.com/ns/2006/1.0", ResponseNamespace="http://expo.live.com/ns/2006/1.0", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string ListingsByCategoryKeywordLocation_V2(int siteId, string appKey, int page, int pageSize, string orderBy, bool orderAscending, int cat, string keyword, string city, string state, string postalCode, string country, float maxDist, string transactionType) {
object[] results = this.Invoke("ListingsByCategoryKeywordLocation_V2", new object[] {
siteId,
appKey,
page,
pageSize,
orderBy,
orderAscending,
cat,
keyword,
city,
state,
postalCode,
country,
maxDist,
transactionType});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginListingsByCategoryKeywordLocation_V2(
int siteId,
string appKey,
int page,
int pageSize,
string orderBy,
bool orderAscending,
int cat,
string keyword,
string city,
string state,
string postalCode,
string country,
float maxDist,
string transactionType,
System.AsyncCallback callback,
object asyncState) {
return this.BeginInvoke("ListingsByCategoryKeywordLocation_V2", new object[] {
siteId,
appKey,
page,
pageSize,
orderBy,
orderAscending,
cat,
keyword,
city,
state,
postalCode,
country,
maxDist,
transactionType}, callback, asyncState);
}
/// <remarks/>
public string EndListingsByCategoryKeywordLocation_V2(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://expo.live.com/ns/2006/1.0/ListingsByUser", RequestNamespace="http://expo.live.com/ns/2006/1.0", ResponseNamespace="http://expo.live.com/ns/2006/1.0", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string ListingsByUser(int siteId, string appKey, int page, int pageSize, string orderBy, bool orderAscending, string nickname) {
object[] results = this.Invoke("ListingsByUser", new object[] {
siteId,
appKey,
page,
pageSize,
orderBy,
orderAscending,
nickname});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginListingsByUser(int siteId, string appKey, int page, int pageSize, string orderBy, bool orderAscending, string nickname, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ListingsByUser", new object[] {
siteId,
appKey,
page,
pageSize,
orderBy,
orderAscending,
nickname}, callback, asyncState);
}
/// <remarks/>
public string EndListingsByUser(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://expo.live.com/ns/2006/1.0/ListingsByMyBuddies", RequestNamespace="http://expo.live.com/ns/2006/1.0", ResponseNamespace="http://expo.live.com/ns/2006/1.0", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public string ListingsByMyBuddies(int siteId, string appKey, int page, int pageSize, string orderBy, bool orderAscending) {
object[] results = this.Invoke("ListingsByMyBuddies", new object[] {
siteId,
appKey,
page,
pageSize,
orderBy,
orderAscending});
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginListingsByMyBuddies(int siteId, string appKey, int page, int pageSize, string orderBy, bool orderAscending, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("ListingsByMyBuddies", new object[] {
siteId,
appKey,
page,
pageSize,
orderBy,
orderAscending}, callback, asyncState);
}
/// <remarks/>
public string EndListingsByMyBuddies(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -