Click or drag to resize

ScriptInterruptedException Class

The exception that is thrown when script execution is interrupted by the host.
Inheritance Hierarchy
SystemOperationCanceledException
  Microsoft.ClearScriptScriptInterruptedException

Namespace:  Microsoft.ClearScript
Assembly:  ClearScript.Core (in ClearScript.Core.dll) Version: 7.3.1
Syntax
[SerializableAttribute]
public class ScriptInterruptedException : OperationCanceledException, 
	IScriptEngineException

The ScriptInterruptedException type exposes the following members.

Constructors
  NameDescription
Public methodScriptInterruptedException
Initializes a new ScriptInterruptedException instance.
Public methodScriptInterruptedException(String)
Initializes a new ScriptInterruptedException with the specified error message.
Protected methodScriptInterruptedException(SerializationInfo, StreamingContext)
Initializes a new ScriptInterruptedException with serialized data.
Public methodScriptInterruptedException(String, Exception)
Initializes a new ScriptInterruptedException with the specified error message and nested exception.
Top
Properties
  NameDescription
Public propertyEngineName
Gets the name associated with the script engine instance.
Public propertyErrorDetails
Gets a detailed error message if one is available, null otherwise.
Public propertyExecutionStarted
Gets a value that indicates whether script code execution had started before the current exception was thrown.
Public propertyIsFatal
Gets a value that indicates whether the exception represents a fatal error.
Public propertyScriptException
Gets the script exception that caused the current exception to be thrown, or null if one was not specified.
Top
Methods
  NameDescription
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
Public methodToString
Returns a string that represents the current exception.
Top
See Also