ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8
V8ScriptEngine Class
V8ScriptEngine Methods
BeginCpuProfile Method
CancelAwaitDebugger Method
CancelInterrupt Method
CollectCpuProfileSample Method
CollectGarbage Method
Compile Method
CompileDocument Method
Dispose Method
EndCpuProfile Method
Evaluate Method
Execute Method
ExecuteCommand Method
GetRuntimeHeapInfo Method
GetStackTrace Method
Interrupt Method
WriteRuntimeHeapSnapshot Method

# V8ScriptEngineInterrupt Method

Interrupts script execution and causes the script engine to throw an exception.
Namespace: Microsoft.ClearScript.V8
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public override void Interrupt()

    Public Overrides Sub Interrupt

    public:
    virtual void Interrupt() override

    abstract Interrupt : unit -> unit
    override Interrupt : unit -> unit

#### Implements

IScriptEngineInterrupt
IScriptEngineInterrupt
Remarks
This method can be called safely from any thread.
See Also

#### Reference

V8ScriptEngine Class
Microsoft.ClearScript.V8 Namespace
CancelInterrupt

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft