This documentation is archived and is not being maintained.

IVsaSite Interface

Enables communication between the host and the script engine. This interface is implemented by the host.

For a list of all members of this type, see IVsaSite Members.

[Visual Basic]
Public Interface IVsaSite
public interface IVsaSite
public __gc __interface IVsaSite
interface IVsaSite


IVsaSite provides for host-implemented callbacks, describes interaction between the engine and the host's object model, and allows the reporting of compilation errors.

The IVsaSite interface is implemented by the host, not the script engine. Each instance of a script engine maps to a specific host, and each instance of a script engine must have a host-implemented IVsaSite object.

A default implementation of the IVsaSite interface is provided in Microsoft.Vsa.BaseVsaSite, which is available on the Visual Studio for Applications SDK. BaseVsaSite implements all the IVsaSite methods and exposes two additional properties for languages that don't support reference parameters. You can derive from this class to provide specific functionality.


Namespace: Microsoft.Vsa

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Microsoft.Vsa (in Microsoft.Vsa.dll)

See Also

IVsaSite Members | Microsoft.Vsa Namespace | IVsaEngine | IVsaPersistSite | IVsaCodeItem.AddEventSource