語言

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

方法

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

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

GetEventSourceInstance(String, String)
已淘汰.

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

GetGlobalInstance(String)
已淘汰.

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

Notify(String, Object)
已淘汰.

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

OnCompilerError(IVsaError)
已淘汰.

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

適用於