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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top