Class AbpAsyncTimer
Inheritance
object
AbpAsyncTimer
Implements
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Threading
Assembly: Volo.Abp.Threading.dll
Syntax
public class AbpAsyncTimer : ITransientDependency
Constructors
AbpAsyncTimer()
Declaration
public AbpAsyncTimer()
Fields
Elapsed
Declaration
public Func<AbpAsyncTimer, Task> Elapsed
Field Value
Type | Description |
---|---|
System.Func<T, TResult><AbpAsyncTimer, System.Threading.Tasks.Task> |
Properties
ExceptionNotifier
Declaration
public IExceptionNotifier ExceptionNotifier { get; set; }
Property Value
Type | Description |
---|---|
IExceptionNotifier |
Logger
Declaration
public ILogger<AbpAsyncTimer> Logger { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.Extensions.Logging.ILogger<TCategoryName><AbpAsyncTimer> |
Period
Declaration
public int Period { get; set; }
Property Value
Type | Description |
---|---|
int |
RunOnStart
Declaration
public bool RunOnStart { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
Start(CancellationToken)
Declaration
public void Start(CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken |
Stop(CancellationToken)
Declaration
public void Stop(CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken |