Microsoft Certified Solutions Developer (MCSD) Certification Practice Test

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Microsoft Certified Solutions Developer Certification Test with multiple choice questions and flashcards. Each question comes with hints and explanations. Start mastering your skills now!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which property of a ThreadPool task can indicate completion of work?

  1. TaskStatus

  2. TaskCompletion

  3. IsCompleted

  4. TaskResult

The correct answer is: IsCompleted

The property that indicates the completion of a ThreadPool task is IsCompleted. When dealing with tasks in a thread pool, this property can be queried to determine if the task has finished executing. IsCompleted reflects whether the task has reached its final state, which means you can check it to understand the current execution status. This is particularly useful in scenarios where you might have multiple tasks running simultaneously and need to manage their states effectively. The other options relate to aspects of task management but do not specifically indicate the completion status of the task in the same direct manner. TaskStatus provides a broader view of the task's status, while TaskCompletion and TaskResult are more ambiguous and not standard properties associated with the completion of a task. Thus, IsCompleted is the most direct and clear indication of a task's completion state.