System.Windows.Forms.Control.BeginInvoke

  • Thread starter Thread starter Eric Twietmeyer
  • Start date Start date
E

Eric Twietmeyer

Hello,

I'm wondering simply whether it is necessary to call EndInvoke after every
call to the Control's BeginInvoke method? When calling BeginInvoke on a
MulticastDelegate it is definitely necessary to call EndInvoke so that
internal resources can be released (at least this is my understanding), but
need the same occur for the Control's BeginInvoke method?

Thanks in advance,

-Eric Twietmeyer
 
Hi Eric,
I'm wondering simply whether it is necessary to call EndInvoke after every
call to the Control's BeginInvoke method? When calling BeginInvoke on a
MulticastDelegate it is definitely necessary to call EndInvoke so that
internal resources can be released (at least this is my understanding), but
need the same occur for the Control's BeginInvoke method?

No, you don't need to call EndInvoke.

http://www.yoda.arachsys.com/csharp/threads/winforms.shtml

bye
Rob
 
Back
Top