IVsaError Interfész

Definíció

Figyelemfelhívás

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.

Hozzáférést biztosít a metódus végrehajtása során előforduló fordítási Compile() hibákhoz.

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
Származtatott
Attribútumok

Tulajdonságok

Name Description
Description
Elavult.

Rövid leírást kap a hibáról, bizonyos esetekben a hibát okozó forráskód jogkivonatára mutató hivatkozást ad vissza.

EndColumn
Elavult.

Ha elérhető, lekéri a hibát okozó forrásszöveg záró oszlopszámát.

Line
Elavult.

Lekéri azt a sorszámot, amelyen hiba történik.

LineText
Elavult.

Lekéri a forráskód szövegét a hibát okozó sorból.

Number
Elavult.

Egy számot kap, amely egyedileg azonosítja a hibát.

Severity
Elavult.

Lekéri a hiba súlyosságát.

SourceItem
Elavult.

Lekéri a IVsaItem hibát létrehozó objektumra mutató hivatkozást.

SourceMoniker
Elavult.

Lekéri a hibát tartalmazó forráselem teljes nevét a szkriptmotor által felismerhető formátumban.

StartColumn
Elavult.

Lekéri a hibát okozó forrásszöveg kezdő oszlopszámát, ha elérhető.

A következőre érvényes: