IVsaError Interface

Definição

Cuidado

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.

Fornece acesso aos erros de compilação durante a execução do método Compile().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
Derivado
Atributos

Propriedades

Description

Obtém uma breve descrição do erro, em alguns casos, retornando uma referência ao token no código-fonte que está causando o erro.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

Obtém o número de coluna final para o texto de origem que causou o erro, se disponível.Gets the ending column number for the source text that caused the error, if available.

Line

Obtém o número de linha em que ocorreu um erro.Gets the line number on which an error occurs.

LineText

Obtém o texto do código-fonte da linha que causou o erro.Gets the text of the source code from the line that caused the error.

Number

Obtém um número que identifica o erro exclusivamente.Gets a number that uniquely identifies the error.

Severity

Obtém a gravidade do erro.Gets the severity of the error.

SourceItem

Obtém uma referência ao objeto IVsaItem que gerou o erro.Gets a reference to the IVsaItem object that generated the error.

SourceMoniker

Obtém o nome totalmente qualificado do item de origem que continha o erro, em um formato reconhecido pelo mecanismo de script.Gets the fully qualified name of the source item that contained the error, in a format recognizable by the script engine.

StartColumn

Obtém o número de coluna inicial para o texto de origem que causou o erro, se disponível.Gets the starting column number for the source text that caused the error, if available.

Aplica-se a