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 エラーが発生したソース テキストの開始列番号が取得できれば、それを取得します。

このページのトップへ

参照

関連項目

Microsoft.Vsa 名前空間