reference.cs

来自「Windows Mobile平台应用与开发 书中c#源码」· CS 代码 · 共 55 行

CS
55
字号
//------------------------------------------------------------------------------
// <autogenerated>
//     This code was generated by a tool.
//     Runtime Version: 1.1.4322.573
//
//     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 Microsoft.VSDesigner, Version 1.1.4322.573.
// 
namespace WSClient.Primes {
    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="PrimesSoap", Namespace="http://tempuri.org/")]
    public class Primes : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        /// <remarks/>
        public Primes() {
            this.Url = "http://207.202.168.30/WSService/Primes.asmx";
        }
        
        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetFloorPrime", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        public int GetFloorPrime(int Target) {
            object[] results = this.Invoke("GetFloorPrime", new object[] {
                        Target});
            return ((int)(results[0]));
        }
        
        /// <remarks/>
        public System.IAsyncResult BeginGetFloorPrime(int Target, System.AsyncCallback callback, object asyncState) {
            return this.BeginInvoke("GetFloorPrime", new object[] {
                        Target}, callback, asyncState);
        }
        
        /// <remarks/>
        public int EndGetFloorPrime(System.IAsyncResult asyncResult) {
            object[] results = this.EndInvoke(asyncResult);
            return ((int)(results[0]));
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?