IVsaError Interface
Provides access to compilation errors encountered during execution of the IVsaEngine.Compile method.
For a list of all members of this type, see IVsaError Members.
[Visual Basic] <Guid("E0C0FFE4-7eea-4ee2-b7e4-0080c7eb0b74")> <InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> Public Interface IVsaError [C#] [Guid("E0C0FFE4-7eea-4ee2-b7e4-0080c7eb0b74")] [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public interface IVsaError [C++] [Guid("E0C0FFE4-7eea-4ee2-b7e4-0080c7eb0b74")] [InterfaceType(ComInterfaceType::InterfaceIsIUnknown)] public __gc __interface IVsaError [JScript] public Guid("E0C0FFE4-7eea-4ee2-b7e4-0080c7eb0b74") InterfaceType(ComInterfaceType.InterfaceIsIUnknown) interface IVsaError
Remarks
All properties of the IVsaError interface are read-only.
There is not a direct correlation between the reporting of compiler errors and the success of the compile method. Some compilers may be able to recover from errors and produce working assemblies, while others may not. Always use the return value of the IVsaEngine.Compile method to determine the success of the compilation.
Use this interface when implementing a script engine that must return error messages back to the host.
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
IVsaError Members | Microsoft.Vsa Namespace | IVsaEngine | IVsaEngine.Compile | IVsaSite.OnCompilerError