VsaEngine 类 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.
public ref class VsaEngine : Microsoft::Vsa::IVsaEnginepublic class VsaEngine : Microsoft.Vsa.IVsaEngine[System.Obsolete("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")]
public class VsaEngine : Microsoft.Vsa.IVsaEnginetype VsaEngine = class
    interface IVsaEngine[<System.Obsolete("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")>]
type VsaEngine = class
    interface IVsaEnginePublic Class VsaEngine
Implements IVsaEngine- 继承
- 
				VsaEngine
- 属性
- 实现
构造函数
| VsaEngine() | 
				已过时.
			 初始化 VsaEngine 类的新实例。 | 
字段
| _baseEngine | |
| _engineClosed | |
| m_Items | 
属性
| Assembly | 
				已过时.
			 获取由 Run() 方法生成的运行程序集的引用。 | 
| Evidence | 
				已过时.
			 获取或设置用于验证当前对象的标识的证据。 | 
| GenerateDebugInfo | 
				已过时.
			 获取或设置一个值,该值指示在调用 Compile 方法时脚本引擎是否会生成调试信息。 | 
| IsCompiled | 
				已过时.
			 获取一个值,该值指示在调用 Compile() 方法时是否将脚本引擎设置为生成调试信息。 | 
| IsDirty | 
				已过时.
			 获取一个值,该值指示脚本引擎的源状态是否自上次保存操作或是自最初加载脚本引擎以来已更改。 | 
| IsRunning | 
				已过时.
			 获取一个值,该值指示脚本引擎当前是否处于运行模式。 | 
| Items | 
				已过时.
			 获取 IVsaItems 对象的 IVsaItem 集合,这些对象表示使用 CreateItem 方法添加到脚本引擎的所有项,包括代码项、引用项和全局项。 | 
| Language | 
				已过时.
			 获取脚本引擎支持的编程语言的非本地化名称。 | 
| LCID | 
				已过时.
			 获取或设置在报告异常消息时所使用的地理区域设置和语言。 | 
| Name | 
				已过时.
			 获取或设置脚本引擎的显示名称,该名称主要用于在托管环境中向用户标识各个脚本引擎。 | 
| RootMoniker | 
				已过时.
			 获取或设置脚本引擎的根名字对象。 | 
| RootNamespace | 
				已过时.
			 获取或设置脚本引擎使用的根命名空间。 | 
| Site | 
				已过时.
			 获取或设置由主机实现的 IVsaSite 对象,脚本引擎使用此对象与主机通信。 | 
| Version | 
				已过时.
			 获取由该脚本引擎支持的当前版本的语言编译器,格式为 Major.Minor.Revision.Build。 | 
方法
| CheckEngine() | |
| Close() | 
				已过时.
			 关闭脚本引擎并释放所有资源。 如果脚本引擎当前正在运行,则首先调用 Reset() 方法。 | 
| Compile() | 
				已过时.
			 使脚本引擎编译现有的源状态。 | 
| CreateEngine() | |
| Dispose(Boolean) | 
				已过时.
			 释放由当前 VsaEngine 使用的所有资源。 | 
| Equals(Object) | 
		已过时.
	 确定指定对象是否等于当前对象。(继承自 Object) | 
| Finalize() | 
				已过时.
			 在垃圾回收将某一对象回收前允许该对象尝试释放资源并执行其他清理操作。 | 
| GetExceptionToThrow(Exception) | |
| GetHashCode() | 
		已过时.
	 作为默认哈希函数。(继承自 Object) | 
| GetOption(String) | 
				已过时.
			 获取引擎实现特定的选项。 | 
| GetType() | 
		已过时.
	 获取当前实例的 Type。(继承自 Object) | 
| InitNew() | 
				已过时.
			 提供初始化阶段已完成的通知。 | 
| IsValidIdentifier(String) | 
				已过时.
			 检查提供的标识符是否对脚本引擎有效。 | 
| LoadSourceState(IVsaPersistSite) | 
				已过时.
			 指示脚本引擎按照实现 IVsaPersistSite 接口的宿主提供对象的指定,从持久性点加载源项。 | 
| MemberwiseClone() | 
		已过时.
	 创建当前 Object 的浅表副本。(继承自 Object) | 
| Reset() | 
				已过时.
			 从运行状态中移除脚本引擎,并自动断开与绑定事件处理程序的连接。 | 
| RevokeCache() | 
				已过时.
			 为引擎将缓存程序集无效化,由其根名字对象指定。 | 
| Run() | 
				已过时.
			 启动脚本引擎中已编译代码的执行,并绑定所有事件处理程序。 | 
| SaveCompiledState(Byte[], Byte[]) | 
				已过时.
			 保存脚本引擎的编译状态;它还可选择保存调试信息。 | 
| SaveSourceState(IVsaPersistSite) | 
				已过时.
			 指示脚本引擎将其源状态保存到指定 IVsaPersistSite 对象。 | 
| SetOption(String, Object) | 
				已过时.
			 设置脚本引擎特定于实现的选项。 | 
| ToString() | 
		已过时.
	 返回表示当前对象的字符串。(继承自 Object) |