Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the method to handle the onerror event.
![]() |
Syntax
HRESULT value = object.put_onerror(VARIANT v);HRESULT value = object.get_onerror(VARIANT p);
Property values
Type: VARIANT
the event handler.
Remarks
The onerror event occurs when there is an error that prevents the completion of the request.
The onerror event does not occur when the IHTMLXDomainRequest::ontimeout event occurs.
Note Security note: There is no way to determine the cause or nature of the error.
See also
Reference
.png)