Class BackgroundTaskState
Represents the current state of a background task.
Inheritance
System.Object
BackgroundTaskState
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.BackgroundTasks
Assembly: Mediachase.Commerce.dll
Version: 12.17.2Syntax
public class BackgroundTaskState
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 |