IVsaError Интерфейс

Определение

Внимание!

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.

Предоставляет доступ к ошибкам компиляции, возникшим во время выполнения метода Compile().

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
Производный
Атрибуты

Свойства

Description

Возвращает краткое описание ошибки, а в некоторых случаях также ссылку на лексему в исходном коде, которая вызывает ошибку.

EndColumn

Возвращает (при доступности) номер последнего столбца исходного текста, который вызвал ошибку.

Line

Возвращает номер строки, в которой произошла ошибка.

LineText

Возвращает текст исходного кода из строки, вызвавшей ошибку.

Number

Возвращает код, который уникально идентифицирует ошибку.

Severity

Возвращает степень серьезности ошибки.

SourceItem

Возвращает ссылку на объект IVsaItem, создавший ошибку.

SourceMoniker

Возвращает полное имя исходного элемента, содержащего ошибку, в формате, распознаваемом обработчиком скриптов.

StartColumn

Возвращает (при доступности) номер первого столбца исходного текста, который вызвал ошибку.

Применяется к