Microsoft.JScript.Vsa 命名空间

Microsoft.JScript.Vsa 命名空间包含允许您集成脚本的接口(为 .NET 框架脚本引擎集成到 JScript),并由此在运行时编译并执行代码。 The Microsoft.JScript.Vsa namespace contains interfaces that allow you to integrate Script for the.NET Framework script engines into JScript, and to compile and execute code at run time.

BaseVsaEngine

实现 IJSVsaEngine 接口。Implements IJSVsaEngine interface.

BaseVsaSite

启用主机与脚本引擎之间的通信。Enables communication between the host and the script engine.

BaseVsaStartup

用于启动和重置基 VSA 引擎。Used to start and reset base VSA engine.

JSVsaException

此类型支持 .NET Framework 基础结构,不能在代码中直接使用。This type supports the .NET Framework infrastructure and is not intended to be used directly from your code.

ResInfo

对脚本引擎,此类、成员或属性在内部,且不应从您的代码中调用。This class, member, or property is internal to the script engine and should not be called from your code.

VsaEngine

实现 IJSVsaEngine 接口。Implements IJSVsaEngine interface.

接口

IJSVsaCodeItem

表示要通过脚本引擎编译的代码项。Represents a code item to be compiled by the script engine.

IJSVsaEngine

定义脚本引擎必须支持的方法和属性,并提供对脚本引擎的编程访问。Defines the methods and properties that a script engine must support and provides programmatic access to the script engine.

IJSVsaError

提供在执行过程中遇到的编译错误的访问。Provides access to compilation errors encountered during execution.

IJSVsaGlobalItem

介绍添加到脚本引擎中的全局对象。Describes global objects added to the script engine.

IJSVsaItem

为所有添加到 .NET 脚本引擎的项定义一个接口,包括代码项、引用项和全局项。Defines an interface for all items added to the .NET script engine, including code items, reference items, and global items. 它定义应用于该引擎识别的所有项类型的泛型属性和方法。It defines generic properties and methods that apply to all item types recognized by the engine.

IJSVsaItems

定义 IJSVsaItem 对象集合的接口,可通过名称或索引对其进行定位。Defines an interface for a collection of IJSVsaItem objects, which can be addressed either by name or by index.

IJSVsaPersistSite

对项目持久性进行管理,并对使用由宿主实现的保存和加载操作的代码和其他项进行存储和检索。Manages project persistence and stores and retrieves code and other items using save and load operations implemented by the host.

IJSVsaReferenceItem

描述一个添加到脚本引擎的引用。Describes a reference added to the script engine.

IJSVsaSite

启用主机与脚本引擎之间的通信。Enables communication between the host and the script engine. 该接口由主机实现。This interface is implemented by the host.

枚举

BaseVsaEngine.Pre

BaseVsaEngine 类提供枚举。Provides enumeration for the BaseVsaEngine class.

JSVsaError

定义可由 .NET 脚本引擎引发的异常集。Defines the set of exceptions that can be thrown by a .NET script engine.

JSVsaItemFlag

将代码项的类型标识为“类”、“模块”或“无”。Identifies the type of code item as Class, Module, or None.

JSVsaItemType

表示项的类型。Represents the type of the item.