Compartilhar via


UpdateTask Class

Defines a workflow activity that is used to update the specified properties of a task.

Inheritance Hierarchy

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.ComponentModel.Activity
      System.Workflow.Activities.CallExternalMethodActivity
        Microsoft.SharePoint.WorkflowActions.UpdateTask

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

Syntax

'Declaration
<ActivityToolboxDisplayAttribute("VSTTSharePointWorkflowTask", True)> _
<ToolboxBitmapAttribute(GetType(UpdateTask), "Resources.UpdateTask.bmp")> _
Public NotInheritable Class UpdateTask _
    Inherits CallExternalMethodActivity
'Usage
Dim instance As UpdateTask
[ActivityToolboxDisplayAttribute("VSTTSharePointWorkflowTask", true)]
[ToolboxBitmapAttribute(typeof(UpdateTask), "Resources.UpdateTask.bmp")]
public sealed class UpdateTask : CallExternalMethodActivity

Remarks

Any property values you specify are updated for the specified task; if you do not specify a property value, the value of that property remains unchanged.

This activity implements the ITaskService.UpdateTask method.

Microsoft Windows SharePoint Services 3.0 includes several activities that streamline the process of creating, updating, completing, and deleting tasks associated with a workflow. You can also use event-based activities to receive notification when tasks have been created, changed, or deleted.

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

UpdateTask Members

Microsoft.SharePoint.WorkflowActions Namespace

Other Resources

Workflow Activities for SharePoint Foundation

How SharePoint Foundation Processes Workflow Activities

Workflow Task Forms (SharePoint Foundation)