Class InstructionProcessTask
Implements periodic database instruction processing as a hosted service.
Namespace: Umbraco.Cms.Infrastructure.HostedServices.ServerRegistration
Assembly: Umbraco.Infrastructure.dll
Syntax
public class InstructionProcessTask : RecurringHostedServiceBase
Constructors
View SourceInstructionProcessTask(IRuntimeState, IServerMessenger, ILogger<InstructionProcessTask>, IOptions<GlobalSettings>)
Initializes a new instance of the Instruction
Declaration
public InstructionProcessTask(IRuntimeState runtimeState, IServerMessenger messenger, ILogger<InstructionProcessTask> logger, IOptions<GlobalSettings> globalSettings)
Parameters
Type | Name | Description |
---|---|---|
IRuntime |
runtimeState | Representation of the state of the Umbraco runtime. |
IServer |
messenger | Service broadcasting cache notifications to registered servers. |
ILogger<Instruction |
logger | The typed logger. |
IOptions<Global |
globalSettings | The configuration for global settings. |
Methods
View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System. |
disposing |
PerformExecuteAsync(Object)
Declaration
public override Task PerformExecuteAsync(object state)
Parameters
Type | Name | Description |
---|---|---|
System. |
state |
Returns
Type | Description |
---|---|
Task |