Share via


Interfaccia IVsaSite

Nota: questa API è ora obsoleta.

Abilita la comunicazione tra l'host e il motore di script. Questa interfaccia viene implementata dall'host.

Spazio dei nomi:  Microsoft.Vsa
Assembly:  Microsoft.Vsa (in Microsoft.Vsa.dll)

Sintassi

'Dichiarazione
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<ObsoleteAttribute("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.")> _
<GuidAttribute("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")> _
Public Interface IVsaSite
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[ObsoleteAttribute("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.")]
[GuidAttribute("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")]
public interface IVsaSite
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[ObsoleteAttribute(L"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.")]
[GuidAttribute(L"E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")]
public interface class IVsaSite
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<ObsoleteAttribute("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.")>]
[<GuidAttribute("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")>]
type IVsaSite =  interface end
public interface IVsaSite

Il tipo IVsaSite espone i seguenti membri.

Metodi

  Nome Descrizione
Metodo pubblico GetCompiledState Ottiene lo stato compilato di un motore di script e, facoltativamente, le informazioni di debug associate.
Metodo pubblico GetEventSourceInstance Ottiene un riferimento a un'origine eventi precedentemente aggiunta a un motore di script mediante il metodo AddEventSource.
Metodo pubblico GetGlobalInstance Ottiene un riferimento a un elemento Global, ad esempio l'oggetto applicazione fornito dall'host.
Metodo pubblico Notify Notifica all'host gli eventi generati dal motore di script .NET.
Metodo pubblico OnCompilerError Notifica all'host le modalità di risposta agli errori di compilazione rilevati dal motore di script.

In alto

Vedere anche

Riferimenti

Spazio dei nomi Microsoft.Vsa