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 |