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] <Guid("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")> <InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> Public Interface IVsaSite [C#] [Guid("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public interface IVsaSite [C++] [Guid("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")] [InterfaceType(ComInterfaceType::InterfaceIsIUnknown)] public __gc __interface IVsaSite [JScript] public Guid("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74") InterfaceType(ComInterfaceType.InterfaceIsIUnknown) interface IVsaSite
Remarks
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.
Requirements
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