SaaS CMS has officially launched! Learn more now.

Class DeleteTask

Activity that deletes a Task in EPiServer.

Inheritance
System.Object
DeleteTask
Namespace: EPiServer.WorkflowFoundation.Activities
Assembly: EPiServer.WorkflowFoundation.dll
Version: 7.19.2
Syntax
public class DeleteTask : InvokesBase<DeleteTask>

Constructors

DeleteTask()

Initializes a new instance of the DeleteTask class.

Declaration
public DeleteTask()

Fields

LogActionProperty

Register LogAction property so it can be databound

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

TaskIdProperty

Register TaskId property so it can be databound

Declaration
public static DependencyProperty TaskIdProperty
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

TaskId

Gets or sets the id of the task to be deleted

Declaration
public int TaskId { get; set; }
Property Value
Type Description
System.Int32

The task id.

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.

Extension Methods