This documentation is archived and is not being maintained.

IVsaSite::OnCompilerError Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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)

[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
bool OnCompilerError(
	IVsaError^ error
)

Parameters

error
Type: Microsoft.Vsa::IVsaError

The IVsaError object representing the offending error.

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.
Show: