Share via


IVsaError Interface

Note: This API is now obsolete.

Provides access to compilation errors encountered during execution of the IVsaEngine.Compile Method method.

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

Syntax

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

The IVsaError type exposes the following members.

Properties

  Name Description
Public property Description Gets a brief description of the error, in some instances returning a reference to the token in the source code that is causing the error.
Public property EndColumn Gets the ending column number for the source text that caused the error, if available.
Public property Line Gets the line number on which an error occurs.
Public property LineText Gets the text of the source code from the line that caused the error.
Public property Number Gets a number that uniquely identifies the error.
Public property Severity Sets the severity of the error.
Public property SourceItem Gets a reference to the IVsaItem object that generated the error.
Public property SourceMoniker Gets the fully qualified name of the source item that contained the error, in a format recognizable by the script engine.
Public property StartColumn Gets the starting column number for the source text that caused the error, if available.

Top

See Also

Reference

Microsoft.Vsa Namespace