BaseVsaSite 类

定义

警告

此 API 现已过时。

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

public ref class BaseVsaSite : Microsoft::JScript::Vsa::IJSVsaSite
[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 BaseVsaSite : Microsoft.JScript.Vsa.IJSVsaSite
type BaseVsaSite = class
    interface IJSVsaSite
Public Class BaseVsaSite
Implements IJSVsaSite
继承
BaseVsaSite
属性
实现

构造函数

BaseVsaSite()

创建一个新站点。Creates a new site.

属性

Assembly

此站点的程序集。An assembly for this site.

DebugInfo

调试此站点的信息。Debug information for this site.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetCompiledState(Byte[], Byte[])

为此站点设置程序集和调试信息。Sets an assembly and debug info for this site.

GetEventSourceInstance(String, String)

获取对先前使用 AddEventSource(String, String) 方法添加到脚本引擎中的事件源的引用。Gets a reference to an event source previously added to a script engine using the AddEventSource(String, String) method.

GetGlobalInstance(String)

获取对全局项的引用,例如主机提供的应用程序对象。Gets a reference to a global item, such as the host-provided application object.

GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
Notify(String, Object)

通知主机有关由脚本引擎生成的事件。Notifies the host about events generated by the script engine.

OnCompilerError(IJSVsaError)

通知主机如何对脚本引擎遇到的编译器错误作出响应。Notifies the host about how to respond to compiler errors encountered by the script engine.

ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于