fibonacci.vb

来自「This is a book about vb.you could learn 」· VB 代码 · 共 45 行

VB
45
字号
'------------------------------------------------------------------------------
' <autogenerated>
'     This code was generated by a tool.
'     Runtime Version: 1.0.2723.0
'
'     Changes to this file may cause incorrect behavior and will be lost if 
'     the code is regenerated.
' </autogenerated>
'------------------------------------------------------------------------------

Option Strict On
Option Explicit On

Imports System
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Xml.Serialization

'
'This source code was auto-generated by wsdl, Version=1.0.2723.0.
'

Public Class <System.Web.Services.WebServiceBindingAttribute(Name:="FibonacciSoap", [Namespace]:="http://tempuri.org/")> Fibonacci
    Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
    
    Public Sub New()
        MyBase.New
        Me.Url = "http://localhost/wrox/4885/WebServices/Expose/Fibonacci/Fibonacci_cs.asmx"
    End Sub
    
    Public Function <System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSeqNumber", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> GetSeqNumber(ByVal fibIndex As Integer) As Integer
        Dim results() As Object = Me.Invoke("GetSeqNumber", New Object() {fibIndex})
        Return CType(results(0),Integer)
    End Function
    
    Public Function BeginGetSeqNumber(ByVal fibIndex As Integer, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        Return Me.BeginInvoke("GetSeqNumber", New Object() {fibIndex}, callback, asyncState)
    End Function
    
    Public Function EndGetSeqNumber(ByVal asyncResult As System.IAsyncResult) As Integer
        Dim results() As Object = Me.EndInvoke(asyncResult)
        Return CType(results(0),Integer)
    End Function
End Class

⌨️ 快捷键说明

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