Class ExecutableWorkEventArgs
Represents status and progress events during execution of IComputationalWork.
Inheritance
System.Object
ExecutableWorkEventArgs
Namespace: DNVGL.One.Compute.WorkExecution.ExecutionModel
Assembly: DNVGL.One.Compute.WorkExecution.dll
Syntax
public class ExecutableWorkEventArgs : EventArgs
Properties
View SourceContext
Gets the execution context.
Declaration
public IExecutionContext Context { get; }
Property Value
Type | Description |
---|---|
IExecutionContext | The execution context. |
Exception
Gets the exception.
Declaration
public Exception Exception { get; }
Property Value
Type | Description |
---|---|
Exception | The exception. |
Message
Gets the message.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
System.String | The message. |
Progress
Gets the progress.
Declaration
public double Progress { get; }
Property Value
Type | Description |
---|---|
System.Double | The progress. |
Source
Gets the source object.
Declaration
public object Source { get; }
Property Value
Type | Description |
---|---|
System.Object | The source. |
Remarks
This object should be the data object that is being processed by the IComputationalWork.
WorkStatus
Gets the work status.
Declaration
public WorkStatus WorkStatus { get; }
Property Value
Type | Description |
---|---|
WorkStatus | The work status. |