IErrorHandler.OnCompilerError(IVsaFullErrorInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When implemented in a class, determines how to handle an error that occurs when code is being parsed.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
bool OnCompilerError(Microsoft::JScript::IVsaFullErrorInfo ^ error);
public bool OnCompilerError (Microsoft.JScript.IVsaFullErrorInfo error);
abstract member OnCompilerError : Microsoft.JScript.IVsaFullErrorInfo -> bool
Public Function OnCompilerError (error As IVsaFullErrorInfo) As Boolean
Parameters
- error
- IVsaFullErrorInfo
An object that contains information about the error.
Returns
false
to handle the error; true
to ignore the error and continue parsing.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.