IVsaError Interfejs

Definicja

Przestroga

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.

Zapewnia dostęp do błędów kompilacji napotkanych podczas wykonywania Compile() metody.

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
Pochodne
Atrybuty

Właściwości

Description

Pobiera Krótki opis błędu, w niektórych przypadkach zwracając odwołanie do tokenu w kodzie źródłowym, który jest przyczyną błędu.

EndColumn

Pobiera numer kolumny końcowej dla tekstu źródłowego, który spowodował błąd, jeśli jest dostępny.

Line

Pobiera numer wiersza, w którym występuje błąd.

LineText

Pobiera tekst kodu źródłowego z wiersza, który spowodował błąd.

Number

Pobiera numer jednoznacznie identyfikujący błąd.

Severity

Pobiera ważność błędu.

SourceItem

Pobiera odwołanie do IVsaItem obiektu, który wygenerował błąd.

SourceMoniker

Pobiera w pełni kwalifikowaną nazwę elementu źródłowego, który zawierał błąd, w formacie rozpoznawanym przez aparat skryptu.

StartColumn

Pobiera numer kolumny początkowej dla tekstu źródłowego, który spowodował błąd, jeśli jest dostępny.

Dotyczy