Show / Hide Table of Contents

Class BackgroundJobInfo

Represents a background job info that is used to persist jobs.

Inheritance
System.Object
BackgroundJobInfo
Namespace: Volo.Abp.BackgroundJobs
Assembly: Volo.Abp.BackgroundJobs.dll
Syntax
public class BackgroundJobInfo : object

Constructors

BackgroundJobInfo()

Initializes a new instance of the BackgroundJobInfo class.

Declaration
public BackgroundJobInfo()

Properties

CreationTime

Creation time of this job.

Declaration
public virtual DateTime CreationTime { get; set; }
Property Value
Type Description
DateTime

Id

Declaration
public Guid Id { get; set; }
Property Value
Type Description
Guid

IsAbandoned

This is true if this job is continuously failed and will not be executed again.

Declaration
public virtual bool IsAbandoned { get; set; }
Property Value
Type Description
System.Boolean

JobArgs

Job arguments as serialized to string.

Declaration
public virtual string JobArgs { get; set; }
Property Value
Type Description
System.String

JobName

Name of the job.

Declaration
public virtual string JobName { get; set; }
Property Value
Type Description
System.String

LastTryTime

Last try time of this job.

Declaration
public virtual DateTime? LastTryTime { get; set; }
Property Value
Type Description
System.Nullable<DateTime>

NextTryTime

Next try time of this job.

Declaration
public virtual DateTime NextTryTime { get; set; }
Property Value
Type Description
DateTime

Priority

Priority of this job.

Declaration
public virtual BackgroundJobPriority Priority { get; set; }
Property Value
Type Description
BackgroundJobPriority

TryCount

Try count of this job. A job is re-tried if it fails.

Declaration
public virtual short TryCount { get; set; }
Property Value
Type Description
System.Int16

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft