Wednesday, August 1, 2007

Properties of WebMethod() Attribute

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

No comments: