Class TaskInformation
Contains information such as status and result (if the asynchronus job returned a result) associated with a task.
Namespace: EPiServer.Async
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
public class TaskInformation : Object
Constructors
TaskInformation()
Default constructor
Declaration
public TaskInformation()
TaskInformation(Guid)
Constructor to create status with specific id.
Declaration
public TaskInformation(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System. |
id |
Properties
Completed
Time (in UTC) for when the task was completed.
Declaration
public DateTime Completed { get; set; }
Property Value
Type | Description |
---|---|
System. |
CompletedStatus
Contains the status of the task when it was completed. Before completion value is System.
Declaration
public TaskStatus CompletedStatus { get; set; }
Property Value
Type | Description |
---|---|
System. |
Created
Time (in UTC) for when the task was created.
Declaration
public DateTime Created { get; set; }
Property Value
Type | Description |
---|---|
System. |
Exception
In case a task is faulting, this contains the exception message.
Declaration
public string Exception { get; set; }
Property Value
Type | Description |
---|---|
System. |
Id
The unique identifier associated with the task.
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System. |
IsTrackable
Indicates if the task was created with an associated Tracking
Declaration
public bool IsTrackable { get; set; }
Property Value
Type | Description |
---|---|
System. |
Result
In case the asyncronus task had a return value this is the outcome of the task.
Declaration
public object Result { get; set; }
Property Value
Type | Description |
---|---|
System. |
ResultType
Gets or sets the System.
Declaration
public string ResultType { get; set; }
Property Value
Type | Description |
---|---|
System. |
User
The user under which the context the task was created.
Declaration
public string User { get; set; }
Property Value
Type | Description |
---|---|
System. |