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
衍生
屬性

方法

名稱 Description
GetCompiledState(Byte[], Byte[])
已淘汰.

取得已編譯的腳本引擎狀態,並可選擇性地取得相關的除錯資訊。

GetEventSourceInstance(String, String)
已淘汰.

透過 該 AddEventSource(String, String) 方法取得先前已加入腳本引擎的事件來源參考。

GetGlobalInstance(String)
已淘汰.

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

Notify(String, Object)
已淘汰.

通知主機 .NET 腳本引擎產生的事件。

OnCompilerError(IJSVsaError)
已淘汰.

通知主機如何回應腳本引擎遇到的編譯器錯誤。

適用於