Class TerminateExecutionException
This exception signals to the worker host that the execution should be terminated with the given error code.
Namespace: DNVGL.One.Compute.Core.WorkerHost
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public abstract class TerminateExecutionException : Exception
Constructors
View SourceTerminateExecutionException(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 SourceErrorCode
Gets the error code.
Declaration
public int ErrorCode { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The error code. |