Share via


IVsaError 介面

定義

警告

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
已淘汰.

取得造成錯誤之原始程式文字的起始欄號 (如果有的話)。

適用於