0

Hi all, who can help me with this question??


Which of the following are characteristics of the System.Threading.Timer class?

1) The method provided by the TimerCallback delegate will always be invoked on the thread which created the timer.
2) The thread which creates the timer must have a message processing loop (i.e. be considered a UI thread).
3) The class contains protection to prevent reentrancy to the method provided by the TimerCallback delegate
4) You can receive notification of an instance being Disposed by calling an overload of the Dispose method.

2
Contributors
7
Replies
8
Views
8 Years
Discussion Span
Last Post by sknake
0

What class are you taking?

This's just a question of an exam. Need to choose the correct answer.

thanks

0

Is it multiple choice or only one and which one do you think it is?

That's not a multiple choice question, must choose one of them...
I think 1) is correct... what do you think?

0

Thanks, you helped me a lot.. yeah, it's not #1,,, it's #4, right?

0

Correct! I didn't know that either by the way :) I thought it was #1 until I really started reading.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.