JsTerminationReason Enum
Why the engine stopped a script.
public enum JsTerminationReasonFields
| Name | Value | Description |
|---|---|---|
Canceled | 0 | The execution was canceled (the cancellation token of the engine). |
Timeout | 1 | The script ran longer than JsEngineOptions.Timeout. |
MemoryLimit | 2 | The script allocated more than JsEngineOptions.MemoryLimit. |
StatementLimit | 3 | The script executed more statements than JsEngineOptions.MaxStatements. |