Bewerken

Share via


IVsaError Interface

Definition

Caution

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.

Provides access to compilation errors encountered during execution of the Compile() method.

public interface class IVsaError
[System.Runtime.InteropServices.Guid("E0C0FFE4-7eea-4ee2-b7e4-0080c7eb0b74")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsaError
[System.Runtime.InteropServices.Guid("E0C0FFE4-7eea-4ee2-b7e4-0080c7eb0b74")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Obsolete("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.")]
public interface IVsaError
[<System.Runtime.InteropServices.Guid("E0C0FFE4-7eea-4ee2-b7e4-0080c7eb0b74")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsaError = interface
[<System.Runtime.InteropServices.Guid("E0C0FFE4-7eea-4ee2-b7e4-0080c7eb0b74")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Obsolete("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.")>]
type IVsaError = interface
Public Interface IVsaError
Derived
Attributes

Properties

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.

EndColumn

Gets the ending column number for the source text that caused the error, if available.

Line

Gets the line number on which an error occurs.

LineText

Gets the text of the source code from the line that caused the error.

Number

Gets a number that uniquely identifies the error.

Severity

Gets the severity of the error.

SourceItem

Gets a reference to the IVsaItem object that generated the error.

SourceMoniker

Gets the fully qualified name of the source item that contained the error, in a format recognizable by the script engine.

StartColumn

Gets the starting column number for the source text that caused the error, if available.

Applies to