EndTaskProcess class

Forcefully ends the task process, regardless of the completion status of existing tasks, in other words, tasks which may be incomplete.

Inheritance hierarchy

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.ComponentModel.Activity
      Microsoft.Office.Workflow.Actions.EndTaskProcess

Namespace:  Microsoft.Office.Workflow.Actions
Assembly:  Microsoft.Office.Workflow.Actions (in Microsoft.Office.Workflow.Actions.dll)

Syntax

'Declaration
<ActivityValidatorAttribute(GetType(OfficeTaskDescendantValidator))> _
Public Class EndTaskProcess _
    Inherits Activity
'Usage
Dim instance As EndTaskProcess
[ActivityValidatorAttribute(typeof(OfficeTaskDescendantValidator))]
public class EndTaskProcess : Activity

Remarks

If an EndTaskProcess object is present in any region except for OnTaskProcessCompleted, all existing tasks and regions are ended and OnTaskProcessCompleted is started. If an object of the EndTaskProcess type is used from within an OnTaskProcessCompleted object, the task process ends immediately.

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

EndTaskProcess members

Microsoft.Office.Workflow.Actions namespace

CheckExitConditions

OfficeTask