Re: HowTo find out the number of references to a reference type?
From: Klaus Drechsel (klaus.drechsel_at_prosytec.com)
Date: 07/05/04
- Next message: Beeeeeeeeeeeeves: "Ownerdrawn combobox (hopefully not to be plundered this time)"
- Previous message: Beeeeeeeeeeeeves: "RE: Regex hangs"
- In reply to: Scott Allen: "Re: HowTo find out the number of references to a reference type?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 5 Jul 2004 13:47:58 +0200
Thanks for the link
Klaus
"Scott Allen" <bitmask@[nospam].fred.net> schrieb im Newsbeitrag
news:g8tae05nkc7vkl3psmhsaq52mmle1c1n3c@4ax.com...
> Klaus:
>
> Just wanted to give you some additional food for thought:
>
> Finalizers in managed code are not nearly as straightforward as they
> might sound. There are threading and performance issues to consider,
> as well as some best practice guidlines to follow.
>
> See "Finalize and Dispose Explained" in
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/
scalenetchapt05.asp
> for more information.
>
> --
> Scott
> http://www.OdeToCode.com
>
>
> On Thu, 1 Jul 2004 11:56:42 +0200, "Klaus Drechsel"
> <klaus.drechsel@prosytec.com> wrote:
>
> >My Problem:
> >The Function Dispose on a IDisposable shuld be called on the last
reference
> >to this instance. Can I get the number of references. to an object?
> >
> >Klaus Drechsel
> >
>
- Next message: Beeeeeeeeeeeeves: "Ownerdrawn combobox (hopefully not to be plundered this time)"
- Previous message: Beeeeeeeeeeeeves: "RE: Regex hangs"
- In reply to: Scott Allen: "Re: HowTo find out the number of references to a reference type?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|