Search Results for

    Show / Hide Table of Contents
    View Source

    Class InstructionProcessTask

    Implements periodic database instruction processing as a hosted service.

    Inheritance
    System.Object
    RecurringHostedServiceBase
    Namespace: Umbraco.Cms.Infrastructure.HostedServices.ServerRegistration
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class InstructionProcessTask : RecurringHostedServiceBase

    Constructors

    View Source

    InstructionProcessTask(IRuntimeState, IServerMessenger, ILogger<InstructionProcessTask>, IOptions<GlobalSettings>)

    Initializes a new instance of the InstructionProcessTask class.

    Declaration
    public InstructionProcessTask(IRuntimeState runtimeState, IServerMessenger messenger, ILogger<InstructionProcessTask> logger, IOptions<GlobalSettings> globalSettings)
    Parameters
    Type Name Description
    IRuntimeState runtimeState

    Representation of the state of the Umbraco runtime.

    IServerMessenger messenger

    Service broadcasting cache notifications to registered servers.

    ILogger<InstructionProcessTask> logger

    The typed logger.

    IOptions<GlobalSettings> globalSettings

    The configuration for global settings.

    Methods

    View Source

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    View Source

    PerformExecuteAsync(Object)

    Declaration
    public override Task PerformExecuteAsync(object state)
    Parameters
    Type Name Description
    System.Object state
    Returns
    Type Description
    Task
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • InstructionProcessTask(IRuntimeState, IServerMessenger, ILogger<InstructionProcessTask>, IOptions<GlobalSettings>)
    • Methods
      • Dispose(Boolean)
      • PerformExecuteAsync(Object)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX