📄 reference.vb
字号:
'------------------------------------------------------------------------------
' <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>
'------------------------------------------------------------------------------
Option Strict Off
Option Explicit On
Imports System
Imports System.ComponentModel
Imports System.Diagnostics
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Xml.Serialization
'
'此源代码是由 Microsoft.VSDesigner 1.1.4322.573 版自动生成。
'
Namespace localhost1
'<remarks/>
<System.Diagnostics.DebuggerStepThroughAttribute(), _
System.ComponentModel.DesignerCategoryAttribute("code"), _
System.Web.Services.WebServiceBindingAttribute(Name:="bookshopSoap", [Namespace]:="http://tempuri.org/ShopUserServices/bookshop")> _
Public Class bookshop
Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
'<remarks/>
Public Sub New()
MyBase.New
Me.Url = "http://localhost/ShopUserServices/userService.asmx"
End Sub
'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ShopUserServices/bookshop/userLogin", RequestNamespace:="http://tempuri.org/ShopUserServices/bookshop", ResponseNamespace:="http://tempuri.org/ShopUserServices/bookshop", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function userLogin(ByVal username As String, ByVal password As String) As Integer
Dim results() As Object = Me.Invoke("userLogin", New Object() {username, password})
Return CType(results(0),Integer)
End Function
'<remarks/>
Public Function BeginuserLogin(ByVal username As String, ByVal password As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke("userLogin", New Object() {username, password}, callback, asyncState)
End Function
'<remarks/>
Public Function EnduserLogin(ByVal asyncResult As System.IAsyncResult) As Integer
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),Integer)
End Function
'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ShopUserServices/bookshop/getbookcount", RequestNamespace:="http://tempuri.org/ShopUserServices/bookshop", ResponseNamespace:="http://tempuri.org/ShopUserServices/bookshop", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function getbookcount(ByVal bookcat As String) As Integer
Dim results() As Object = Me.Invoke("getbookcount", New Object() {bookcat})
Return CType(results(0),Integer)
End Function
'<remarks/>
Public Function Begingetbookcount(ByVal bookcat As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke("getbookcount", New Object() {bookcat}, callback, asyncState)
End Function
'<remarks/>
Public Function Endgetbookcount(ByVal asyncResult As System.IAsyncResult) As Integer
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),Integer)
End Function
'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ShopUserServices/bookshop/getBook", RequestNamespace:="http://tempuri.org/ShopUserServices/bookshop", ResponseNamespace:="http://tempuri.org/ShopUserServices/bookshop", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function getBook(ByVal bookcat As String) As System.Data.DataSet
Dim results() As Object = Me.Invoke("getBook", New Object() {bookcat})
Return CType(results(0),System.Data.DataSet)
End Function
'<remarks/>
Public Function BegingetBook(ByVal bookcat As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke("getBook", New Object() {bookcat}, callback, asyncState)
End Function
'<remarks/>
Public Function EndgetBook(ByVal asyncResult As System.IAsyncResult) As System.Data.DataSet
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),System.Data.DataSet)
End Function
'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ShopUserServices/bookshop/getonebook", RequestNamespace:="http://tempuri.org/ShopUserServices/bookshop", ResponseNamespace:="http://tempuri.org/ShopUserServices/bookshop", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function getonebook(ByVal isbn As String) As System.Data.DataSet
Dim results() As Object = Me.Invoke("getonebook", New Object() {isbn})
Return CType(results(0),System.Data.DataSet)
End Function
'<remarks/>
Public Function Begingetonebook(ByVal isbn As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke("getonebook", New Object() {isbn}, callback, asyncState)
End Function
'<remarks/>
Public Function Endgetonebook(ByVal asyncResult As System.IAsyncResult) As System.Data.DataSet
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),System.Data.DataSet)
End Function
'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ShopUserServices/bookshop/getct_id", RequestNamespace:="http://tempuri.org/ShopUserServices/bookshop", ResponseNamespace:="http://tempuri.org/ShopUserServices/bookshop", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function getct_id(ByVal ct_name As String) As Integer
Dim results() As Object = Me.Invoke("getct_id", New Object() {ct_name})
Return CType(results(0),Integer)
End Function
'<remarks/>
Public Function Begingetct_id(ByVal ct_name As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke("getct_id", New Object() {ct_name}, callback, asyncState)
End Function
'<remarks/>
Public Function Endgetct_id(ByVal asyncResult As System.IAsyncResult) As Integer
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),Integer)
End Function
'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ShopUserServices/bookshop/saveorder", RequestNamespace:="http://tempuri.org/ShopUserServices/bookshop", ResponseNamespace:="http://tempuri.org/ShopUserServices/bookshop", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function saveorder(ByVal ct_id As Integer, ByVal bk_isbn As String, ByVal or_date As Date, ByVal or_shippeddate As Date, ByVal bkor_quantity As Short, ByVal bkor_price As Double) As Boolean
Dim results() As Object = Me.Invoke("saveorder", New Object() {ct_id, bk_isbn, or_date, or_shippeddate, bkor_quantity, bkor_price})
Return CType(results(0),Boolean)
End Function
'<remarks/>
Public Function Beginsaveorder(ByVal ct_id As Integer, ByVal bk_isbn As String, ByVal or_date As Date, ByVal or_shippeddate As Date, ByVal bkor_quantity As Short, ByVal bkor_price As Double, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke("saveorder", New Object() {ct_id, bk_isbn, or_date, or_shippeddate, bkor_quantity, bkor_price}, callback, asyncState)
End Function
'<remarks/>
Public Function Endsaveorder(ByVal asyncResult As System.IAsyncResult) As Boolean
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),Boolean)
End Function
'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ShopUserServices/bookshop/getallcat", RequestNamespace:="http://tempuri.org/ShopUserServices/bookshop", ResponseNamespace:="http://tempuri.org/ShopUserServices/bookshop", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function getallcat() As System.Data.DataSet
Dim results() As Object = Me.Invoke("getallcat", New Object(-1) {})
Return CType(results(0),System.Data.DataSet)
End Function
'<remarks/>
Public Function Begingetallcat(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke("getallcat", New Object(-1) {}, callback, asyncState)
End Function
'<remarks/>
Public Function Endgetallcat(ByVal asyncResult As System.IAsyncResult) As System.Data.DataSet
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),System.Data.DataSet)
End Function
End Class
End Namespace
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -