Class TaskInformationStorage
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Component that manages persistance of TaskInformation.
Inheritance
Inherited Members
Namespace: EPiServer.Async.Internal
Assembly: EPiServer.Framework.dll
Version: 11.20.7Syntax
public abstract class TaskInformationStorage
Remarks
The implementation is not guaranteed to be thread safe, so if used from singleton instances recommendation is to access instance through usage of ServiceAccessor<TService>.
Constructors
TaskInformationStorage()
Declaration
protected TaskInformationStorage()
Properties
MonitoredTaskTruncateLimit
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. The amount of time before a monitored task will be removed.
Declaration
public static TimeSpan MonitoredTaskTruncateLimit { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan |
Remarks
Default value is 30 days
Methods
Delete(Guid)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Deletes the TaskInformation entry with specified id.
Declaration
public abstract void Delete(Guid taskInformationId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | taskInformationId |
Load(Guid)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Loads a persisted TaskInformation instance.
Declaration
public abstract TaskInformation Load(Guid taskInformationId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | taskInformationId |
Returns
Type | Description |
---|---|
TaskInformation |
Save(TaskInformation)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Persists a TaskInformation instance.
Declaration
public abstract void Save(TaskInformation task)
Parameters
Type | Name | Description |
---|---|---|
TaskInformation | task | The TaskInformation to persist. |
Tasks()
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Returns a queryable where Linq can be used to get a filtered result.
Declaration
public abstract IOrderedQueryable<TaskInformation> Tasks()
Returns
Type | Description |
---|---|
System.Linq.IOrderedQueryable<TaskInformation> |