Share via


OnTaskChanged Class

Defines a workflow activity that is used to respond to the ITaskService.OnTaskChanged event Microsoft SharePoint Foundation raises when a task associated with the workflow is modified.

Inheritance Hierarchy

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.ComponentModel.Activity
      System.Workflow.Activities.HandleExternalEventActivity
        Microsoft.SharePoint.WorkflowActions.OnTaskChanged

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

Syntax

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

Remarks

SharePoint Foundation 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

OnTaskChanged Members

Microsoft.SharePoint.WorkflowActions Namespace

Other Resources

Workflow Activities for SharePoint Foundation

How SharePoint Foundation Processes Workflow Activities

Workflow Task Forms (SharePoint Foundation)