Show / Hide Table of Contents

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 Source

AddOrUpdateWorkItemResult(Object)

Update work item result during execution.

Declaration
void AddOrUpdateWorkItemResult(object result)
Parameters
Type Name Description
System.Object result

The result object.

View Source

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.

  • View Source
In This Article
Back to top Copyright © DNV AS. All rights reserved.