Web方法也采用它們自己的參數
在VB
<WebMethod(CacheDuration:=
Public Function Hello (ByVal strName As String) As String
End Function
在C#中
[WebMethod(CacheDuration=
Public string Hello (string strName)
{
}
通過使用逗號分隔
在VB
<WebMethod(CacheDuration:= CacheDuration:= Public Function Hello (ByVal strName As String) As String End Function
[
From:http://tw.wingwit.com/Article/program/net/201311/14859.html