📄 reference.cs
字号:
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// 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.42.
//
namespace MobileDevelopersHandbook.DSAExample.OrdersWebService {
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="OrdersServiceSoap", Namespace="http://mobiledevelopershandbook.org/")]
public partial class OrdersService : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public OrdersService() {
this.Url = "http://myServer/MobileDevelopersHandbookServices/OrdersService.asmx";
}
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://mobiledevelopershandbook.org/PostOrder", RequestNamespace="http://mobiledevelopershandbook.org/", ResponseNamespace="http://mobiledevelopershandbook.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
public int PostOrder(string CustomerName, int ProductID, int Quantity) {
object[] results = this.Invoke("PostOrder", new object[] {
CustomerName,
ProductID,
Quantity});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginPostOrder(string CustomerName, int ProductID, int Quantity, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("PostOrder", new object[] {
CustomerName,
ProductID,
Quantity}, callback, asyncState);
}
/// <remarks/>
public int EndPostOrder(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -