Class 'XXX' must implement error

Bonekrusher

Active member
Joined
Jul 4, 2007
Messages
38
Programming Experience
1-3
Hi,

I am trying to gain access public interface from an api. I get the following error:

Class 'UserMessageListener' must implement 'Sub Message(content As XdmNode, terminate As Boolean, location As IXmlLocation)' for interface 'Saxon.Api.IMessageListener'.

Here is my code:

VB.NET:
Public Class UserMessageListener
        Implements IMessageListener

        Sub Message(ByVal content As XdmNode, ByVal terminate As Boolean, ByVal location As IXmlLocation)

        End Sub

    End Class

What does this mean and how can I correct it?

Thanks,
 
What does this mean
A class must implement all interface members, even if you choose to not give them any content the class must define them.
how can I correct it?
Place cursor after "Implements IMessageListener" and press Enter key, IDE will generate all interface members for the class.
 
Back
Top