Partilhar via


CollectDataTask Class

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

Inheritance Hierarchy

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.ComponentModel.Activity
      System.Workflow.ComponentModel.CompositeActivity
        System.Workflow.Activities.SequenceActivity
          Microsoft.SharePoint.WorkflowActions.WithKey.CollectDataTask

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

Syntax

'Declaration
Public Class CollectDataTask _
    Inherits SequenceActivity
'Usage
Dim instance As CollectDataTask
public class CollectDataTask : SequenceActivity

Remarks

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

Thread Safety

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

See Also

Reference

CollectDataTask Members

Microsoft.SharePoint.WorkflowActions.WithKey Namespace