Share via


DelegateTask Class

A workflow task that allows a user to designate a delegate to perform the task, while the original assigned user still maintains final approval rights.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class DelegateTask _
    Inherits Activity
'Usage
Dim instance As DelegateTask
public class DelegateTask : Activity

Remarks

When a task is delegated, a new task is created for the delegate. The original task remains with the original user, but a relationship is established between the original task and the delegate task. Once the delegate task is complete, the original task owner will be able to approve the work completed.

In the event that the delegate task is not approved, it is made active again so that the delegate can do the work specified and once finished, the original task will resume.

A task can be delegated to only one person, and the delegation cannot be removed.

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

DelegateTask Members

Microsoft.Office.Workflow.Actions Namespace