Share via


OnTaskDeleted class

Defines a workflow activity used to respond to the ITaskService.OnTaskDeleted event.

Inheritance hierarchy

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

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

Syntax

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

Remarks

Microsoft SharePoint Foundation raises the ITaskService.OnTaskDeleted event when a task associated with the workflow is deleted.

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

OnTaskDeleted members

Microsoft.SharePoint.WorkflowActions namespace

Other resources

Workflow Activities for Windows SharePoint Services Overview

How Windows SharePoint Services Processes Workflow Activities

Workflow Task Forms (Windows SharePoint Services)