V8ScriptEngineEnableRuntimeInterruptPropagation Property |
Enables or disables interrupt propagation in the V8 runtime.
Namespace: Microsoft.ClearScript.V8Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.4.5
Syntax public bool EnableRuntimeInterruptPropagation { get; set; }
Public Property EnableRuntimeInterruptPropagation As Boolean
Get
Set
public:
property bool EnableRuntimeInterruptPropagation {
bool get ();
void set (bool value);
}
member EnableRuntimeInterruptPropagation : bool with get, set
Property Value
BooleanRemarks
By default, when nested script execution is interrupted via
Interrupt, an
instance of
ScriptInterruptedException, if not handled by the host, is
wrapped and delivered to the parent script frame as a normal exception that JavaScript
code can catch. Setting this property to
true causes the V8 runtime to remain in
the interrupted state until its outermost script frame has been processed.
See Also