Table of Contents

Class WebFarmTasks

Namespace
Kentico.Xperience.Admin.Base.UIPages
Assembly
Kentico.Xperience.Admin.Base.dll

Represents a page with web farm task list.

public sealed class WebFarmTasks : ListingPage, IPage
Inheritance
object
WebFarmTasks
Implements
Inherited Members
Extension Methods

Constructors

WebFarmTasks()

public WebFarmTasks()

Properties

IdColumn

Name of the column which is as an identifier of the listed objects.

protected override string IdColumn { get; }

Property Value

string

ObjectType

Type of the info objects that are listed. Corresponds to the OBJECT_TYPE property of the info object or PredefinedObjectType.

protected override string ObjectType { get; }

Property Value

string

Methods

ClearTaskList()

Clears the task list.

[PageCommand(Permission = "Delete")]
public Task<ICommandResponse> ClearTaskList()

Returns

Task<ICommandResponse>

ConfigurePage()

Allows configure and share page specific values prior invocation of the ConfigureTemplateProperties(TClientProperties) or command method.

public override Task ConfigurePage()

Returns

Task

DeleteTask(int, CancellationToken)

Deletes the web farm task.

[PageCommand(Permission = "Delete")]
public Task<ICommandResponse<RowActionResult>> DeleteTask(int id, CancellationToken cancellationToken = default)

Parameters

id int

Task id.

cancellationToken CancellationToken

The cancellation instruction.

Returns

Task<ICommandResponse<RowActionResult>>