CollectDataTask class

Defines a workflow activity that is used to create a task and assigns it to a specified user.

Namespace:  Microsoft.SharePoint.WorkflowActions.WithKey
Assembly:  Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)

public class CollectDataTask : SequenceActivity

When the user submits the task form as complete, this activity returns the list item ID of the task created.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.