Interface IWorkerExecutionStatusNotificationService
Execution status notification service for workers.
Namespace: DNVGL.One.Compute.Core.Worker
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public interface IWorkerExecutionStatusNotificationService
Methods
View SourceAddOrUpdateWorkItemResult(Object)
Update work item result during execution.
Declaration
void AddOrUpdateWorkItemResult(object result)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | result | The result object. |
AddWorkItemStatus(WorkStatus, Double, String)
Reporting the progress/status of the task work unit.
Declaration
void AddWorkItemStatus(WorkStatus status, double progress, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| WorkStatus | status | The status. |
| System.Double | progress | The progress. |
| System.String | message | The message. |