ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.Windows.Core
WindowsScriptEngine Class
WindowsScriptEngine Methods
CheckAccess Method
CollectGarbage Method
Dispose Method
GetStackTrace Method
Interrupt Method
VerifyAccess Method

# WindowsScriptEngineInterrupt Method

Interrupts script execution and causes the script engine to throw an exception.
Namespace: Microsoft.ClearScript.Windows.Core
Assembly: ClearScript.Windows.Core (in ClearScript.Windows.Core.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
Remarks
This method can be called safely from any thread.
See Also

#### Reference

WindowsScriptEngine Class
Microsoft.ClearScript.Windows.Core Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft