DataWeb
Search Results for

    Show / Hide Table of Contents

    Class AutomationTaskService

    A service that provides operations for managing automation tasks.

    Inheritance
    object
    AutomationTaskService
    Implements
    IAutomationTaskService
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: DataWeb.Automation
    Assembly: DataWeb.Core.dll
    Syntax
    public class AutomationTaskService : IAutomationTaskService
    Remarks

    Initializes a new instance of the AutomationTaskService class.

    Constructors

    AutomationTaskService(IAutomationEventService, IAutomationProfileService, IAutomationTaskStore, IReflectionService, IAppErrorService, TimeProvider, IServiceProvider)

    A service that provides operations for managing automation tasks.

    Declaration
    public AutomationTaskService(IAutomationEventService automationEventService, IAutomationProfileService automationProfileService, IAutomationTaskStore automationTaskStore, IReflectionService reflectionService, IAppErrorService appErrorService, TimeProvider timeProvider, IServiceProvider serviceProvider)
    Parameters
    Type Name Description
    IAutomationEventService automationEventService

    The automation event service.

    IAutomationProfileService automationProfileService

    The automation profile service.

    IAutomationTaskStore automationTaskStore

    The automation task store.

    IReflectionService reflectionService

    The reflection service.

    IAppErrorService appErrorService

    The application error service.

    TimeProvider timeProvider
    IServiceProvider serviceProvider

    The service provider.

    Remarks

    Initializes a new instance of the AutomationTaskService class.

    Methods

    GetTaskAsync(AutomationTaskFilter, CancellationToken)

    Gets the automation task that matches the specified filter.

    Declaration
    public Task<AutomationTask> GetTaskAsync(AutomationTaskFilter filter, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    AutomationTaskFilter filter

    The AutomationTaskFilter used to retrieve the automation task.

    CancellationToken cancellationToken
    Returns
    Type Description
    Task<AutomationTask>

    The automation task that matches the specified filter.

    GetTasksAsync(AutomationTaskFilter, CancellationToken)

    Gets all the automation tasks that match the specified filter.

    Declaration
    public Task<IEnumerable<AutomationTask>> GetTasksAsync(AutomationTaskFilter filter, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    AutomationTaskFilter filter

    The AutomationTaskFilter used to retrieve the automation tasks.

    CancellationToken cancellationToken
    Returns
    Type Description
    Task<IEnumerable<AutomationTask>>

    The automation tasks that match the specified filter.

    ResetExecutionEndDateAsync(string, CancellationToken)

    Resets the execution end date for the automation task with the specified id.

    Declaration
    public Task ResetExecutionEndDateAsync(string taskIdMaster, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string taskIdMaster

    The master identifier of the task to update.

    CancellationToken cancellationToken

    A cancellation token to observe while waiting for the task to complete.

    Returns
    Type Description
    Task

    A task that represents the asynchronous operation.

    SetStatusAsync(string, AutomationTaskStatus, CancellationToken)

    Updates the status of the automation task with the specified id.

    Declaration
    public Task SetStatusAsync(string taskIdMaster, AutomationTaskStatus status, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string taskIdMaster

    The master identifier of the task to update.

    AutomationTaskStatus status

    The new status to set for the task.

    CancellationToken cancellationToken

    A cancellation token to observe while waiting for the task to complete.

    Returns
    Type Description
    Task

    A task that represents the asynchronous operation.

    UpdateExecutionEndDateAsync(string, CancellationToken)

    Updates the execution end date for the automation task with the specified id.

    Declaration
    public Task UpdateExecutionEndDateAsync(string taskIdMaster, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string taskIdMaster

    The master identifier of the task to update.

    CancellationToken cancellationToken

    A cancellation token to observe while waiting for the task to complete.

    Returns
    Type Description
    Task

    A task that represents the asynchronous operation.

    UpdateExecutionStartDateAsync(string, CancellationToken)

    Updates the execution start date for the automation task with the specified id.

    Declaration
    public Task UpdateExecutionStartDateAsync(string taskIdMaster, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string taskIdMaster

    The master identifier of the task to update.

    CancellationToken cancellationToken

    A cancellation token to observe while waiting for the task to complete.

    Returns
    Type Description
    Task

    A task that represents the asynchronous operation.

    Implements

    IAutomationTaskService
    In this article
    Back to top Generated by DocFX