IVsaError 接口
注意:此 API 现在已过时。
提供在 IVsaEngine.Compile Method 方法执行过程中遇到的编译错误的访问。
命名空间: Microsoft.Vsa
程序集: Microsoft.Vsa(在 Microsoft.Vsa.dll 中)
语法
声明
<ObsoleteAttribute("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.")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("E0C0FFE4-7eea-4ee2-b7e4-0080c7eb0b74")> _
Public Interface IVsaError
[ObsoleteAttribute("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.")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("E0C0FFE4-7eea-4ee2-b7e4-0080c7eb0b74")]
public interface IVsaError
[ObsoleteAttribute(L"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.")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"E0C0FFE4-7eea-4ee2-b7e4-0080c7eb0b74")]
public interface class IVsaError
[<ObsoleteAttribute("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.")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("E0C0FFE4-7eea-4ee2-b7e4-0080c7eb0b74")>]
type IVsaError = interface end
public interface IVsaError
IVsaError 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
Description | 获取对错误的简短说明,在某些情况下会返回对源代码中引起错误的标记的引用。 | |
EndColumn | 获取引发错误的源文本的结束列号(如果可用)。 | |
Line | 获取发生错误的行号。 | |
LineText | 从引起错误的行获取源代码文本。 | |
Number | 获取唯一标识错误的编号。 | |
Severity | 设置错误严重级别。 | |
SourceItem | 获取对生成错误的 IVsaItem 对象的引用。 | |
SourceMoniker | 获取包含错误的源项的完全限定名,采用脚本引擎可以识别的格式。 | |
StartColumn | 获取引发错误的源文本的起始列号(如果可用)。 |
页首