errorHandler Property
Gets or sets the current error handler.
[Visual Basic]
Implementation Syntax
To get the current error handler:
Set oErrorHandler = oMXValidator.errorHandler
To set the current error handler:
Set oMXValidator.errorHandler = oErrorHandler
[C/C++]
Syntax
[propget] HRESULT errorHandler( [out, retval] IUnknown ** oHandler); [propputref] HRESULT errorHandler( [in] IUnknown * oHandler);
Parameters
- oHandler [out, retval]
- A reference to the current error handler
MXValidator
, either anIVBSAXErrorHandler
or anISAXErrorHandler
. - oHandler [in]
- Either an
IVBSAXErrorHandler
or anISAXErrorHandler
.
Return Values
- S_OK
- The value returned if no errors occur.
- E_FAIL
- The value returned if a reference to the error handler could not be set or retrieved.
To view reference information for Visual Basic or C/C++ only, click the Language Filter button in the upper-left corner of the page.
See Also
ISAXErrorHandler/IVBSAXErrorHandler Interface
Applies to: MXValidator CoClass