<ServiceContract(Namespace:="")> <AspNetCompatibilityRequirements(RequirementsMode:=AspNetCompatibilityRequirementsMode.Allowed)> Public Class Service Dim a As Integer dim b As Integer <OperationContract> Public Function init2(ByVal a1 As Integer, ByVal b1 As Integer) As Integer a = a1 b = b1 Return a1 + b1 End Function <OperationContract()> Public Function DoValue() As Integer Return a+ b End Function End Class
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)