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
Устаревшие..

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

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