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 | 取得造成錯誤之原始程式文字的起始欄號 (如果有的話)。 |
回頁首