Share via


IVsaFullErrorInfo 介面

定義

定義屬性,以取得錯誤的相關資訊。 這個介面會提供 IActiveScript 主機所需的額外功能。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public interface class IVsaFullErrorInfo : Microsoft::Vsa::IVsaError
public interface class IVsaFullErrorInfo : Microsoft::JScript::Vsa::IJSVsaError
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("DC3691BC-F188-4b67-8338-326671E0F3F6")]
public interface IVsaFullErrorInfo : Microsoft.Vsa.IVsaError
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("DC3691BC-F188-4b67-8338-326671E0F3F6")]
public interface IVsaFullErrorInfo : Microsoft.JScript.Vsa.IJSVsaError
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("DC3691BC-F188-4b67-8338-326671E0F3F6")>]
type IVsaFullErrorInfo = interface
    interface IVsaError
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("DC3691BC-F188-4b67-8338-326671E0F3F6")>]
type IVsaFullErrorInfo = interface
    interface IJSVsaError
Public Interface IVsaFullErrorInfo
Implements IVsaError
Public Interface IVsaFullErrorInfo
Implements IJSVsaError
衍生
屬性
實作

屬性

Description

取得錯誤的簡短描述,在某些情況下會傳回原始程式碼中造成錯誤之語彙基元的參考。

(繼承來源 IJSVsaError)
EndColumn

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

(繼承來源 IJSVsaError)
EndLine

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

在類別中實作時,取得發生錯誤的程式碼結尾行。

Line

取得發生錯誤的行號。

(繼承來源 IJSVsaError)
LineText

從造成錯誤的行,取得原始程式碼的文字。

(繼承來源 IJSVsaError)
Number

取得唯一識別錯誤的數字。

(繼承來源 IJSVsaError)
Severity

設定錯誤的嚴重性。

(繼承來源 IJSVsaError)
SourceItem

取得產生錯誤之 IJSVsaItem 物件的參考。

(繼承來源 IJSVsaError)
SourceMoniker

以指令碼引擎可辨認的格式,取得包含錯誤之來源項目的完整名稱。

(繼承來源 IJSVsaError)
StartColumn

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

(繼承來源 IJSVsaError)

適用於

另請參閱