編輯

共用方式為


IJSVsaSite.OnCompilerError(IJSVsaError) Method

Definition

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

public:
 bool OnCompilerError(Microsoft::JScript::Vsa::IJSVsaError ^ error);
public bool OnCompilerError (Microsoft.JScript.Vsa.IJSVsaError error);
abstract member OnCompilerError : Microsoft.JScript.Vsa.IJSVsaError -> bool
Public Function OnCompilerError (error As IJSVsaError) As Boolean

Parameters

error
IJSVsaError

The IJSVsaError object representing the offending error.

Returns

true if the compiler is directed to continue reporting further errors to the IJSVsaSite object; false if the compiler is directed to stop reporting further errors to the IVsaSite object.

Applies to