Class DeleteTasksForInstance

Activity that deletes all Task related to a workflow instance in EPiServer

Inheritance
System.Object
DeleteTasksForInstance
Namespace: EPiServer.WorkflowFoundation.Activities
Assembly: EPiServer.WorkflowFoundation.dll
Version: 8.11.0
Syntax
public class DeleteTasksForInstance : InvokesBase<DeleteTasksForInstance>
Remarks

Typically used as last activity before a workflow completes to perform cleanup of tasks related to the workflow instance.

Constructors

DeleteTasksForInstance()

Initializes a new instance of the DeleteTasksForInstance class.

Declaration
public DeleteTasksForInstance()

Fields

LogActionProperty

Register LogAction property so it can be databound

Declaration
public static DependencyProperty LogActionProperty
Field Value
Type Description
System.Workflow.ComponentModel.DependencyProperty

Properties

LogAction

Gets or sets if this action should be logged to history items for workflow instance

Declaration
public bool LogAction { get; set; }
Property Value
Type Description
System.Boolean

Methods

OnMethodInvoking(EventArgs)

Provides a hook for derived classes to set System.Workflow.Activities.CallExternalMethodActivity.ParameterBindings. This method is called just before the external method is run.

Declaration
protected override void OnMethodInvoking(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

An System.EventArgs that contains the data for the System.Workflow.Activities.CallExternalMethodActivity.MethodInvoking event.