Event execution question

K

kpg

Hi all,

Suppose I have a class in my project that raises an event, and the code
that that uses this class consumes the event and does some processing as a
result.

Question: In the routine of the class the raises the event, does execution
wait until the event consumer has finished its processing before execution
proceeds?


Thanks,

kpg
 
S

Scott M.

kpg said:
Hi all,

Suppose I have a class in my project that raises an event, and the code
that that uses this class consumes the event and does some processing as a
result.

Question: In the routine of the class the raises the event, does
execution
wait until the event consumer has finished its processing before execution
proceeds?


Thanks,

kpg

Yes.
 

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

Top