EndTaskProcess EndTaskProcess EndTaskProcess Class

Definition

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

public ref class EndTaskProcess : System::Workflow::ComponentModel::Activity
[System.Workflow.ComponentModel.Compiler.ActivityValidator(typeof(Microsoft.Office.Workflow.Actions.OfficeTaskDescendantValidator))]
public class EndTaskProcess : System.Workflow.ComponentModel.Activity
Public Class EndTaskProcess
Inherits Activity
Inheritance
EndTaskProcessEndTaskProcessEndTaskProcess
Attributes

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.

Constructors

EndTaskProcess() EndTaskProcess() EndTaskProcess()

Initializes a new instance of the EndTaskProcess class.

Methods

Execute(ActivityExecutionContext) Execute(ActivityExecutionContext) Execute(ActivityExecutionContext)

Applies to