Hi, I am currently struggling with this error while trying to build my service host. It works fine while there is only one function in there but as soon as I try to add another I get the error. any help would be greatly appreciated.
vb
[<ServiceContract()> _
Public Interface IDotNetFunServiceContract
<OperationContract()> _
Function AddNumbers(ByVal Number1 As Integer, ByVal Number2 As Integer) As Integer
<OperationContract()> _
Function Test(ByVal SideA As Double, ByVal SideB As Double) As Double
End Interface
vb
Public Class DotNetFunService
Implements IDotNetFunServiceContract[color=#FF0000]
Public Function AddNumbers(ByVal Number1 As Integer, ByVal Number2 As Integer) As Integer Implements IDotNetFunServiceContract.AddNumbers
Return (Number1 + Number2)
End Function
Public Function Test(ByVal SideA As Double, ByVal SideB As Double) As Double
End Function
End Class]
It's when I seem to try to add a new function. The error message I get in the problems panel is:
Class 'DotNetFunService' must implement 'Function Test(SideA As Double, SideB As Double) As Double for interface 'IDotNetFunServiceContract'.