Class IndexMaintenanceTask
Automatic index management that will be run during the night.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Identity.EntityFrameworkCore
Assembly: IRM.AspNetCore.Identity.EntityFrameworkCore.dll
Syntax
public class IndexMaintenanceTask : ICleanupTask
Constructors
IndexMaintenanceTask(IMaintenanceStore)
Creates a new instance of IndexMaintenanceTask.
Declaration
public IndexMaintenanceTask(IMaintenanceStore store)
Parameters
IMaintenanceStore
store
The maintenance store the task will operate over. |
Exceptions
System.ArgumentNullException
|
Methods
Run(CancellationToken)
Performs the cleanup task.
Declaration
public async Task Run(CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.Threading.CancellationToken
cancellationToken
The System.Threading.CancellationToken used to propagate notifications that the operation should be canceled. |
Returns
System.Threading.Tasks.Task
The System.Threading.Tasks.Task that represents the asynchronous operation. |