The 6 properties of WebMethod Attribute are
Description
MessageName
EnableSession
CacheDuration
TransactionOption
BufferResponse
<WebMethod(Description:="This Method add two integer")>
Public Function Add(ByVal Num1 As Integer, ByVal Num2 As Integer) As Integer
Return Num1 + Num2
End Function
Public Function Add(ByVal Num1 As Integer, ByVal Num2 As Integer) As Integer
Return Num1 + Num2
End Function
No comments:
Post a Comment