Home » Microsoft » 70-573 » Which object should you use?
You plan to create a custom approval workflow. The workflow approvers will enter their employee number in the edit task form.
You need to ensure that the onTaskChanged1_Invoked method of the workflow retrieves the value of the employee number.
Which object should you use?
A. SPWorkflowActivationProperties.Item
B. SPWorkflowActivationProperties.TaskListId
C. SPWorkflowTaskProperties.ExtendedProperties
D. SPWorkflowTaskProperties.Properties
Correct Answer: C
Explanation/Reference:
MNEMONIC RULE: "onTaskChanged1 = SPWorkflowTaskProperties.ExtendedProperties"
There is no Properties member in SPWorkflowTaskProperties class.
Gets a hash table that represents the collection of extended task properties as name/value pairs.
SPWorkflowTaskProperties Properties
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.workflow.spworkflowtaskproperties_properties.aspx