Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compile versus non compile
Message
De
11/04/2006 15:33:13
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Titre:
Compile versus non compile
Divers
Thread ID:
01112661
Message ID:
01112661
Vues:
52
Recently, we had some threads about the ability for a Web Service to run in compile mode or not. When running in compile mode, my .vb files can easily see other .vb files as long as they are properly referenced. Here is an example:
Imports Microsoft.VisualBasic

Public Class UniversalThreadCode
    
    Public Shared Function TestMethod(ByVal tnMember As Integer) As String
        If Not UniversalThreadFunction.IsPUTM(tnMember) Then
            Return False
        End If
        Return True
    End Function

End Class
In this case, the IsPUTM() method is in UniversalThreadFunction.vb. This works well. However, it doesn't work when in non compile mode as it says UniversalThreadFunction is ambiguous. How can I resolve that?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform