📄 reference.cs
字号:
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.1433
//
// 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.1433.
//
namespace Client.ServerDemo {
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="ServerServiceBinding", Namespace="http://tempuri.org/")]
public partial class ServerServiceService : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public ServerServiceService() {
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:ServerLibrary-ServerService#Sum", RequestNamespace="urn:ServerLibrary-ServerService", ResponseNamespace="urn:ServerLibrary-ServerService")]
[return: System.Xml.Serialization.SoapElementAttribute("Result")]
public int Sum(int A, int B) {
object[] results = this.Invoke("Sum", new object[] {
A,
B});
return ((int)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginSum(int A, int B, System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("Sum", new object[] {
A,
B}, callback, asyncState);
}
/// <remarks/>
public int EndSum(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((int)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:ServerLibrary-ServerService#GetServerTime", RequestNamespace="urn:ServerLibrary-ServerService", ResponseNamespace="urn:ServerLibrary-ServerService")]
[return: System.Xml.Serialization.SoapElementAttribute("Result")]
public System.DateTime GetServerTime() {
object[] results = this.Invoke("GetServerTime", new object[0]);
return ((System.DateTime)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginGetServerTime(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("GetServerTime", new object[0], callback, asyncState);
}
/// <remarks/>
public System.DateTime EndGetServerTime(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((System.DateTime)(results[0]));
}
/// <remarks/>
[System.Web.Services.Protocols.SoapRpcMethodAttribute("urn:ServerLibrary-ServerService#HelloWorld", RequestNamespace="urn:ServerLibrary-ServerService", ResponseNamespace="urn:ServerLibrary-ServerService")]
[return: System.Xml.Serialization.SoapElementAttribute("Result")]
public string HelloWorld() {
object[] results = this.Invoke("HelloWorld", new object[0]);
return ((string)(results[0]));
}
/// <remarks/>
public System.IAsyncResult BeginHelloWorld(System.AsyncCallback callback, object asyncState) {
return this.BeginInvoke("HelloWorld", new object[0], callback, asyncState);
}
/// <remarks/>
public string EndHelloWorld(System.IAsyncResult asyncResult) {
object[] results = this.EndInvoke(asyncResult);
return ((string)(results[0]));
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -