Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class BackgroundTaskState

Represents the current state of a background task.

Inheritance
System.Object
BackgroundTaskState
Namespace: Mediachase.Commerce.BackgroundTasks
Assembly: Mediachase.Commerce.dll
Version: 14.26.0
Syntax
public class BackgroundTaskState : Object

Properties

BackgroundTaskType

Gets the type of the task.

Declaration
public Type BackgroundTaskType { get; }
Property Value
Type Description
System.Type

TaskArguments

Gets a dictionary containing the arguments to the task.

Declaration
public IDictionary<string, string> TaskArguments { get; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.String>

TaskId

Gets the ID of the task.

Declaration
public Guid TaskId { get; }
Property Value
Type Description
System.Guid

TaskStatus

Gets the current status of the task.

Declaration
public BackgroundTaskStatus TaskStatus { get; }
Property Value
Type Description
BackgroundTaskStatus