IVsaError 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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 |
已过时.
获取引发错误的源文本的起始列号(如果可用)。 |