Groups | Blog | Home
all groups > dotnet component services > january 2005 >

dotnet component services : When is a poolable serviced component destroyed ?


arno
1/19/2005 2:10:13 AM
Hi,

I use an enterprise service which needs to execute some
cleanup of unmanaged code when destroying.

When you call .dispose() on this enterprise service, it is
put back to the pool.

So, Can I add a Finalizer to add my cleanup code to the
serviced component ?

Is the Finalizer called when the process of the caller is
recycled or terminated ?

Thanks,

Eric
1/19/2005 2:26:39 PM
See this link:
AddThis Social Bookmark Button