November Happy Hour will be moved to Thursday December 5th.

Class TaskBase

Base class for tasks in the user interfaces

Inheritance
System.Object
TaskBase
Implements
Namespace: EPiServer.Util.PlugIns
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
[Obsolete("The old workflow system have been removed as of CMS 9")]
public abstract class TaskBase : UserControlBase, IRenderSettings

Constructors

TaskBase()

Declaration
protected TaskBase()

Properties

CurrentTask

The current task

Declaration
protected Task CurrentTask { get; set; }
Property Value
Type Description
Task

IsAssignedTo

Check if the current user is assigned to the task

Declaration
protected bool IsAssignedTo { get; }
Property Value
Type Description
System.Boolean

IsOwner

Check if the current user is the owner of the task

Declaration
protected bool IsOwner { get; }
Property Value
Type Description
System.Boolean

Methods

AccessDenied()

Helper method to send an access denied message

Declaration
protected void AccessDenied()

NewTask()

Create a new task

Declaration
protected abstract Task NewTask()
Returns
Type Description
Task

An instance of the new task

OnInit(EventArgs)

ASP.NET initialization of this control

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

The event arguments

Implements

Extension Methods