语言

IVsaSite 接口

定义

注意

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 interface class IVsaSite
[System.Runtime.InteropServices.Guid("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsaSite
[System.Runtime.InteropServices.Guid("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[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 interface IVsaSite
[<System.Runtime.InteropServices.Guid("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsaSite = interface
[<System.Runtime.InteropServices.Guid("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<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 IVsaSite = interface
Public Interface IVsaSite
派生
属性

方法

名称 说明
GetCompiledState(Byte[], Byte[])
已过时.

获取脚本引擎的编译状态,以及(可选)关联的调试信息。

GetEventSourceInstance(String, String)
已过时.

获取对以前使用 AddEventSource 方法添加到脚本引擎的事件源的引用。

GetGlobalInstance(String)
已过时.

获取对全局项(如主机提供的应用程序对象)的引用。

Notify(String, Object)
已过时.

通知主机.NET脚本引擎生成的事件。

OnCompilerError(IVsaError)
已过时.

通知主机如何响应脚本引擎遇到的编译器错误。

适用于