Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspdotnet_website_programming thread: Problem implementing interfaces in VB.NET


Message #1 by "Marco Garibaldi" <p2p@i...> on Sat, 20 Apr 2002 11:19:22
When I translate the following code from C# in the SiteIdentity.cs file:

public class SiteIdentity: Wrox.WebModules.Business.BizObject, 
System.Security.Principal.IIdentity

to VB.NET:

Public Class SiteIdentity
   Inherits Wrox.WebModules.Business.BizObject
   Implements System.Security.Principal.IIdentity

The IDE reports the error:

'Wrox.WebModules.Accounts.Business.SiteIdentity' must 
implement 'Overridable Overloads ReadOnly Property AuthenticationType() As 
String' for interface 'System.Security.Principal.IIdentity'. Implementing 
property must have matching 'ReadOnly'/'WriteOnly' specifiers.

Does anyone have an idea of how to handle this error?

* Marco


  Return to Index