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 |
---|---|---|
IExternal |
externalExecutionContext |
JobCanceled(object, EventArgs)
Can handle job canceling from studio
Declaration
void JobCanceled(object sender, EventArgs e)