Show / Hide Table of Contents

Class TerminateExecutionException

This exception signals to the worker host that the execution should be terminated with the given error code.

Inheritance
System.Object
TerminateExecutionException
InputFileTransferException
Namespace: DNVGL.One.Compute.Core.WorkerHost
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public abstract class TerminateExecutionException : Exception

Constructors

View Source

TerminateExecutionException(String, Int32, Exception)

Initializes a new instance of the TerminateExecutionException class.

Declaration
protected TerminateExecutionException(string message, int errorCode, Exception innerException = null)
Parameters
Type Name Description
System.String message

The message.

System.Int32 errorCode

The error code.

Exception innerException

The inner exception.

Properties

View Source

ErrorCode

Gets the error code.

Declaration
public int ErrorCode { get; }
Property Value
Type Description
System.Int32

The error code.

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