Re: Performance monitoring: strange error in .Net 2.0
- From: Lucvdv <replace_name@xxxxxxxx>
- Date: Fri, 06 Jan 2006 11:06:11 +0100
On Thu, 05 Jan 2006 16:18:46 +0100, Lucvdv <replace_name@xxxxxxxx> wrote:
> There seems to be a strange interaction/conflict between
> System.Diagnostics.PerformanceCounter objects and
> System.Security.Principal.WindowsIdentity.Impersonate() in CLR 2.0, that
> didn't exist in 1.1.
<snip>
It's working through a workaround in my app now, but it still looks like a
bug in CLR 2.0 to me.
My workaround is starting a separate thread before logging on to the other
account. That thread creates the performance objects, reads the counter
values at regular intervals, and sends them to the main code (form) through
Invoke.
.
- Follow-Ups:
- Re: Performance monitoring: strange error in .Net 2.0
- From: Willy Denoyette [MVP]
- Re: Performance monitoring: strange error in .Net 2.0
- References:
- Performance monitoring: strange error in .Net 2.0
- From: Lucvdv
- Performance monitoring: strange error in .Net 2.0
- Prev by Date: Re: Intercept CLR Calls in an application
- Next by Date: Re: Performance monitoring: strange error in .Net 2.0
- Previous by thread: Performance monitoring: strange error in .Net 2.0
- Next by thread: Re: Performance monitoring: strange error in .Net 2.0
- Index(es):
Relevant Pages
|