ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
ScriptEngine Class
ScriptEngine Methods
AddCOMObject Method
AddCOMType Method
AddHostObject Method
AddHostType Method
AddHostTypes Method
AddRestrictedHostObject Method
CollectGarbage Method
Dispose Method
Evaluate Method
EvaluateDocument Method
Execute Method
ExecuteCommand Method
ExecuteDocument Method
Finalize Method
GetStackTrace Method
Interrupt Method
Invoke Method

# ScriptEngineInterrupt Method

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

    public abstract void Interrupt()

    Public MustOverride Sub Interrupt

    public:
    virtual void Interrupt() abstract

    abstract Interrupt : unit -> unit

#### Implements

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

#### Reference

ScriptEngine Class
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft