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.0Syntax
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 |