Florida .NET User Groups
Florida .NET User Groups  Status: Not logged in

Hot News
Skip Navigation Links

Our Stuff
Skip Navigation Links

Community
Skip Navigation Links

Resources
Skip Navigation Links


JOBS HERE!
Active Jobs: 9

Visual Basic .NET: VB.NET COM+ Object destroy themselves after each method call
From: Jason Rodman 8/30/2002 10:33:22 AM
Ive been having a wierd problem with a COM+ component in VB.NET. My component has tranaction required, object pooling, and construction enabled. I instantiate the object which in turn fires the "New" event in the class which does some initialization tasks and sets some module-level variables. When I call a method in the class, the second the method finishes, the "Finalize" event fires and closes down my object. If I call the method again, it fires the class's "New" event again, then finalize again, and so on.. Every method call that completes a transaction - either explicitly or automatically - destroys and recreates the object thereby giving me poor performance if I call more than one method at a time while that class is instantiated. Has anyone else had this problem?


Visual Basic .NET: VB.NET COM+ Object destroy themselves after each method call

 

 
     
Copyright © 2001 - 2020 Florida .NET User Groups 
contact us
FlaDotNet is hosted by: http://www.appliedi.net