Simple BeginInvoke and EndInvoke needed

  • Thread starter Thread starter Raj
  • Start date Start date
R

Raj

Hello,

Can somebody give me simple BeginInvoke and EndInvoke example?

Thank you

Regards
Raj
 
I have checked the url.

I cannot find any difference even if i replace those lines with this line:
myTextBox.Text = "Executed the given delegate";
 
Raj said:
I have checked the url.

I cannot find any difference even if i replace those lines with this line:
myTextBox.Text = "Executed the given delegate";

You cannot find any difference between what? I'm sorry, but it seems like
you are posting as if we can read your code.

Mike
 
I cannot find any difference even if i replace those lines with this line:
myTextBox.Text = "Executed the given delegate";

"Those lines"? Exactly how are we supposed to know what "those lines" means?
 
I cannot find any difference even if i replace those lines with this line:
myTextBox.Text = "Executed the given delegate";

The goal of BeginInvoke/EndInvoke is to call something asynchronously. It
doesn't change (or shoudln't) change the result. An example that could be
closer to a real life sample would be retrieving results from a database or
calling a web service which is something longer than updating a local UI...
 

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