Class RuntimeJobInfo
Information about the runtime job.
Inheritance
System.Object
System.Dynamic.DynamicObject
RuntimeJobInfo
Implements
System.Dynamic.IDynamicMetaObjectProvider
Inherited Members
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Kephas.Scheduling.Runtime
Assembly: Kephas.Scheduling.dll
Syntax
public class RuntimeJobInfo : RuntimeActivityInfo, IRuntimeTypeInfo, IRuntimeElementInfo, IJobInfo, IActivityInfo, ITypeInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider
Constructors
| Improve this Doc View SourceRuntimeJobInfo(Type)
Initializes a new instance of the RuntimeJobInfo class.
Declaration
protected RuntimeJobInfo(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type. |
Properties
| Improve this Doc View SourceTriggers
Gets the job triggers.
Declaration
public 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
public 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. |
Implements
System.Dynamic.IDynamicMetaObjectProvider