.NETGURU
Why doesn't component services show my methods?
Messages   Related Types
This message was discovered on microsoft.public.dotnet.framework.component_services.

Post a new message to this list...

M.Sameer
Hi everyone,
I have a ServicedComponent containing some public functions.
I notice that these functions doesn't show in Component Services in XP,
however they work fine.
This behavior is different from old COM+.
Will this cause any problems? Is there anything I need to do?

Thanks in advance,
M.Sameer

Reply to this message...
 
    
José Miguel Torres
Because you don't implement a public interface. When you develop a COM+
applications with VB 6.0, for exmple. the Interface Definition Language
implements automatically the necessary interfaces and the COM+ catalog show
only the methods from these interfaces... in .NET if you don't implements a
new public interface COM+ catalog will not show it... for exemple

public interface Iexample{
void ExampleMethodToShow();
}

public class ComClass : ServicedComponent, Iexample
{

public void ExampleMethodToShow()
{
// you can see this method when app is registered in COM+ catalog
}

public void OtherMethod()
{
// you will not see this method in COM+ Catalog
}

}
regards

--
José Miguel Torres
jtorres_diaz~~ARROBA~~terra.es
http://jmtorres.blogspot.com

"M.Sameer" <msameer1 at hotmail dot com> escribió en el mensaje
news:#Click here to reveal e-mail address...
[Original message clipped]

Reply to this message...
 
    
M.Sameer
Thanks much Jose. That solved the problem.

M.Sameer

Reply to this message...
 
 
System.EnterpriseServices.ServicedComponent




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification