We have classes that have properties set (eg. connection string, user
language) from values passed in the New() constructor. This works fine.

I am now converting the classes to ServicedComponents for COM+ 1.0
primarily for transaction support and after several days work now find that
apparently "Classes derived from ServicedComponent do not support
constructors with arguments".

It will be a lot of work to restore a parameterless New() to each class and
then call an ordinary method instead from the instantiated object to set
the properties. Our Web project is fairly large and component classes are
instantiated in several hundred places.

Am I resigned to doing this or am I missing something really fundamental?

Thank for any advice.


Alan Williams
RTIX Ltd.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to