Język

IVsaSite Interfejs

Definicja

Uwaga

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.

Umożliwia komunikację między hostem a aparatem skryptów. Ten interfejs jest implementowany przez hosta.

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
Pochodne
Atrybuty

Metody

Nazwa Opis
GetCompiledState(Byte[], Byte[])
Przestarzałe.

Pobiera skompilowany stan aparatu skryptu i, opcjonalnie, skojarzone informacje debugowania.

GetEventSourceInstance(String, String)
Przestarzałe.

Pobiera odwołanie do źródła zdarzeń wcześniej dodanego do aparatu skryptu przy użyciu metody AddEventSource.

GetGlobalInstance(String)
Przestarzałe.

Pobiera odwołanie do elementu globalnego, takiego jak obiekt aplikacji dostarczonej przez hosta.

Notify(String, Object)
Przestarzałe.

Powiadamia hosta o zdarzeniach generowanych przez aparat skryptów .NET.

OnCompilerError(IVsaError)
Przestarzałe.

Powiadamia hosta o sposobie reagowania na błędy kompilatora napotkane przez aparat skryptów.

Dotyczy