IVsaSite (Interfaz)

Nota: Esta API está obsoleta.

Habilita la comunicación entre el host y el motor de scripts. Esta interfaz se implementa a través del host.

Espacio de nombres:  Microsoft.Vsa
Ensamblado:  Microsoft.Vsa (en Microsoft.Vsa.dll)

Sintaxis

'Declaración
<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

El tipo IVsaSite expone los siguientes miembros.

Métodos

  Nombre Descripción
Método público GetCompiledState Obtiene el estado compilado de un motor de scripts y, de forma opcional, la información de depuración asociada.
Método público GetEventSourceInstance Obtiene una referencia a un origen de eventos agregado anteriormente a un motor de scripts con el método AddEventSource.
Método público GetGlobalInstance Obtiene una referencia a un elemento global, por ejemplo, el objeto Application proporcionado por el host.
Método público Notify Notifica al host los eventos generados por el motor de scripts de .NET.
Método público OnCompilerError Notifica al host cómo debe responderse a los errores del compilador que encontró el motor de scripts.

Arriba

Vea también

Referencia

Microsoft.Vsa (Espacio de nombres)