共用方式為


IJSVsaSite 介面

定義

警告

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 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.")]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("605A62B5-3BA8-49E0-A056-0A6A7A5846A3")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface 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.")>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("605A62B5-3BA8-49E0-A056-0A6A7A5846A3")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IJSVsaSite = interface
Public Interface IJSVsaSite
衍生
屬性

方法

GetCompiledState(Byte[], Byte[])
已淘汰.

取得指令碼引擎的編譯狀態和 (選擇性) 相關偵錯資訊。

GetEventSourceInstance(String, String)
已淘汰.

取得事件來源的參考,事件來源是先前使用 AddEventSource(String, String) 方法加入指令碼引擎。

GetGlobalInstance(String)
已淘汰.

取得全域項目的參考,例如主機提供的應用程式物件。

Notify(String, Object)
已淘汰.

通知主機有關 .NET 指令碼引擎所產生的事件。

OnCompilerError(IJSVsaError)
已淘汰.

通知主機如何回應指令碼引擎所遇到的編譯器錯誤。

適用於