Interface IJobInfo
Interface for job information.
Inherited Members
System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System.Linq.Expressions.Expression)
Namespace: Kephas.Scheduling.Reflection
Assembly: Kephas.Scheduling.dll
Syntax
public interface IJobInfo : IActivityInfo, ITypeInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider
Properties
| Improve this Doc View SourceTriggers
Gets the job triggers.
Declaration
IEnumerable<ITrigger> Triggers { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<ITrigger> | The job triggers. |
Methods
| Improve this Doc View SourceExecuteAsync(IJob, IExpando, IActivityContext, CancellationToken)
Executes the job asynchronously.
Declaration
Task<object> ExecuteAsync(IJob job, IExpando arguments, IActivityContext context, CancellationToken cancellationToken = default(CancellationToken))
Parameters
| Type | Name | Description |
|---|---|---|
| IJob | job | The job to execute. |
| IExpando | arguments | The execution arguments. |
| IActivityContext | context | The execution context. |
| System.Threading.CancellationToken | cancellationToken | Optional. The cancellation token. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Object> | An asynchronous result that yields the output. |