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 |