Class MyAsyncJob
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.BackgroundJobs
Assembly: Volo.Abp.BackgroundJobs.Tests.dll
Syntax
public class MyAsyncJob : AsyncBackgroundJob<MyAsyncJobArgs>, IAsyncBackgroundJob<MyAsyncJobArgs>, ISingletonDependency
Constructors
MyAsyncJob(ICurrentTenant)
Declaration
public MyAsyncJob(ICurrentTenant currentTenant)
Parameters
| Type | Name | Description |
|---|---|---|
| ICurrentTenant | currentTenant |
Properties
ExecutedValues
Declaration
public List<string> ExecutedValues { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<T><string> |
TenantId
Declaration
public Guid? TenantId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Guid? |
Methods
ExecuteAsync(MyAsyncJobArgs)
Declaration
public override Task ExecuteAsync(MyAsyncJobArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| MyAsyncJobArgs | args |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task |
Overrides
Volo.Abp.BackgroundJobs.AsyncBackgroundJob<Volo.Abp.BackgroundJobs.MyAsyncJobArgs>.ExecuteAsync(Volo.Abp.BackgroundJobs.MyAsyncJobArgs)