Search Results for

    Show / Hide Table of Contents

    Interface IExternalJob

    Interface to define a relay job

    Namespace: Sdl.Desktop.IntegrationApi.Jobs
    Assembly: Sdl.Desktop.IntegrationApi.dll
    Syntax
    public interface IExternalJob

    Properties

    JobData

    Custom data specific to the job

    Declaration
    IDictionary<string, object> JobData { get; set; }
    Property Value
    Type Description
    IDictionary<string, object>

    JobName

    Name of the job

    Declaration
    string JobName { get; }
    Property Value
    Type Description
    string

    Methods

    Execute(IExternalJobExecutionContext)

    Triggers the job execution

    Declaration
    void Execute(IExternalJobExecutionContext externalExecutionContext)
    Parameters
    Type Name Description
    IExternalJobExecutionContext externalExecutionContext

    JobCanceled(object, EventArgs)

    Can handle job canceling from studio

    Declaration
    void JobCanceled(object sender, EventArgs e)
    Parameters
    Type Name Description
    object sender
    EventArgs e

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(object, Action<Window>)
    In this article
    • Properties
      • JobData
      • JobName
    • Methods
      • Execute(IExternalJobExecutionContext)
      • JobCanceled(object, EventArgs)
    • Extension Methods
    Back to top Generated by DocFX