SaaS CMS has officially launched! Learn more now.

Class TaskInformation<T>

Contains information about a task where status is an typed instance with information specific to the task type.

Inheritance
System.Object
TaskInformation<T>
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: EPiServer.Async
Assembly: EPiServer.Framework.dll
Version: 11.20.7
Syntax
public class TaskInformation<T> : TaskInformation where T : new()
Type Parameters
Name Description
T

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.Guid id

Properties

Result

Contains the result from the job, given that job returned System.Threading.Tasks.Task<TResult>.

Declaration
public T Result { get; set; }
Property Value
Type Description
T

Extension Methods