Share via


IVsaSite.OnCompilerError Method

Notifies the host about how to respond to compiler errors encountered by the script engine.

Namespace:  Microsoft.Vsa
Assembly:  Microsoft.Vsa (in Microsoft.Vsa.dll)

Syntax

'Declaration
<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

Parameters

Return Value

Type: System.Boolean
Returns TRUE if the compiler is directed to continue reporting further errors to the IVsaSite object. Returns FALSE if the compiler is directed to stop reporting further errors to the IVsaSite object.

See Also

Reference

IVsaSite Interface

Microsoft.Vsa Namespace