Click or drag to resize

ScriptState Class



The result of running a script.
Inheritance Hierarchy

Namespace:  Microsoft.CodeAnalysis.Scripting
Assembly:  Microsoft.CodeAnalysis.Scripting (in Microsoft.CodeAnalysis.Scripting.dll) Version: 2.3.0-dev-56735-00. Commit Hash: <developer build>
Syntax
public abstract class ScriptState

The ScriptState type exposes the following members.

Properties
  NameDescription
Public propertyException
Caught exception originating from the script top-level code.
Public propertyReturnValue
The final value produced by running the script.
Public propertyScript
The script that ran to produce this result.
Public propertyVariables
Returns variables defined by the scripts in the declaration order.
Top
Methods
See Also