Reference.cs
上传用户:yiyuerguo
上传日期:2014-09-27
资源大小:3781k
文件大小:3k
源码类别:

C#编程

开发平台:

Others

  1. //------------------------------------------------------------------------------
  2. // <autogenerated>
  3. //     This code was generated by a tool.
  4. //     Runtime Version: 1.1.4322.573
  5. //
  6. //     Changes to this file may cause incorrect behavior and will be lost if 
  7. //     the code is regenerated.
  8. // </autogenerated>
  9. //------------------------------------------------------------------------------
  10. // 
  11. // 此源代码是由 Microsoft.VSDesigner 1.1.4322.573 版自动生成。
  12. // 
  13. namespace testcoin.mess {
  14.     using System.Diagnostics;
  15.     using System.Xml.Serialization;
  16.     using System;
  17.     using System.Web.Services.Protocols;
  18.     using System.ComponentModel;
  19.     using System.Web.Services;
  20.     
  21.     
  22.     /// <remarks/>
  23.     [System.Diagnostics.DebuggerStepThroughAttribute()]
  24.     [System.ComponentModel.DesignerCategoryAttribute("code")]
  25.     [System.Web.Services.WebServiceBindingAttribute(Name="Service1Soap", Namespace="http://localhost/coin/WebServices/")]
  26.     public class Service1 : System.Web.Services.Protocols.SoapHttpClientProtocol {
  27.         
  28.         /// <remarks/>
  29.         public Service1() {
  30.             this.Url = "http://localhost/coin/Service1.asmx";
  31.         }
  32.         
  33.         /// <remarks/>
  34.         [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://localhost/coin/WebServices/HelloWorld", RequestNamespace="http://localhost/coin/WebServices/", ResponseNamespace="http://localhost/coin/WebServices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  35.         public string HelloWorld() {
  36.             object[] results = this.Invoke("HelloWorld", new object[0]);
  37.             return ((string)(results[0]));
  38.         }
  39.         
  40.         /// <remarks/>
  41.         public System.IAsyncResult BeginHelloWorld(System.AsyncCallback callback, object asyncState) {
  42.             return this.BeginInvoke("HelloWorld", new object[0], callback, asyncState);
  43.         }
  44.         
  45.         /// <remarks/>
  46.         public string EndHelloWorld(System.IAsyncResult asyncResult) {
  47.             object[] results = this.EndInvoke(asyncResult);
  48.             return ((string)(results[0]));
  49.         }
  50.         
  51.         /// <remarks/>
  52.         [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://localhost/coin/WebServices/change", RequestNamespace="http://localhost/coin/WebServices/", ResponseNamespace="http://localhost/coin/WebServices/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
  53.         public System.Double change(System.Double ddgree) {
  54.             object[] results = this.Invoke("change", new object[] {
  55.                         ddgree});
  56.             return ((System.Double)(results[0]));
  57.         }
  58.         
  59.         /// <remarks/>
  60.         public System.IAsyncResult Beginchange(System.Double ddgree, System.AsyncCallback callback, object asyncState) {
  61.             return this.BeginInvoke("change", new object[] {
  62.                         ddgree}, callback, asyncState);
  63.         }
  64.         
  65.         /// <remarks/>
  66.         public System.Double Endchange(System.IAsyncResult asyncResult) {
  67.             object[] results = this.EndInvoke(asyncResult);
  68.             return ((System.Double)(results[0]));
  69.         }
  70.     }
  71. }