📄 reference.vb
字号:
'------------------------------------------------------------------------------
' <autogenerated>
' This code was generated by a tool.
' Runtime Version: 1.0.3705.209
'
' 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.0.3705.209。
'
Namespace localhost
'<remarks/>
<System.Diagnostics.DebuggerStepThroughAttribute(), _
System.ComponentModel.DesignerCategoryAttribute("code"), _
System.Web.Services.WebServiceBindingAttribute(Name:="IDVerifyServiceSoap", [Namespace]:="http://VBPro.NET/")> _
Public Class IDVerifyService
Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
'<remarks/>
Public Sub New()
MyBase.New
Me.Url = "http://localhost/Chap15/EX15-1/IDVerifyService.asmx"
End Sub
'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://VBPro.NET/IsValidID", RequestNamespace:="http://VBPro.NET/", ResponseNamespace:="http://VBPro.NET/", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function IsValidID(ByVal strID As String) As String
Dim results() As Object = Me.Invoke("IsValidID", New Object() {strID})
Return CType(results(0),String)
End Function
'<remarks/>
Public Function BeginIsValidID(ByVal strID As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke("IsValidID", New Object() {strID}, callback, asyncState)
End Function
'<remarks/>
Public Function EndIsValidID(ByVal asyncResult As System.IAsyncResult) As String
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),String)
End Function
'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://VBPro.NET/IsValidCard", RequestNamespace:="http://VBPro.NET/", ResponseNamespace:="http://VBPro.NET/", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function IsValidCard(ByVal strCardNum As String) As String
Dim results() As Object = Me.Invoke("IsValidCard", New Object() {strCardNum})
Return CType(results(0),String)
End Function
'<remarks/>
Public Function BeginIsValidCard(ByVal strCardNum As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke("IsValidCard", New Object() {strCardNum}, callback, asyncState)
End Function
'<remarks/>
Public Function EndIsValidCard(ByVal asyncResult As System.IAsyncResult) As String
Dim results() As Object = Me.EndInvoke(asyncResult)
Return CType(results(0),String)
End Function
End Class
End Namespace
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -