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.

Recommended Answers

All 7 Replies

What class are you taking?

What class are you taking?

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

thanks

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

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?

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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.