Share via


IVsaSite.OnCompilerError メソッド

スクリプト エンジンで発生したコンパイラ エラーに応答する方法について、ホストに通知します。

名前空間:  Microsoft.Vsa
アセンブリ:  Microsoft.Vsa (Microsoft.Vsa.dll 内)

構文

'宣言
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Function OnCompilerError ( _
    error As IVsaError _
) As Boolean
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
bool OnCompilerError(
    IVsaError error
)
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
bool OnCompilerError(
    IVsaError^ error
)
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
abstract OnCompilerError : 
        error:IVsaError -> bool
function OnCompilerError(
    error : IVsaError
) : boolean

パラメーター

戻り値

型 : Boolean
その他のエラーを IVsaSite オブジェクトに継続して報告するようにコンパイラが指示されている場合は TRUE を返します。その他のエラーを IVsaSite オブジェクトに報告しないようにコンパイラが指示されている場合は、FALSE を返します。

参照

関連項目

IVsaSite インターフェイス

Microsoft.Vsa 名前空間