次の方法で共有


IDOMErrorHandler.HandleError(IDOMError) Method

Definition

This method is called on the error handler when an error occurs.

[Android.Runtime.Register("handleError", "(Lorg/w3c/dom/DOMError;)Z", "GetHandleError_Lorg_w3c_dom_DOMError_Handler:Org.W3c.Dom.IDOMErrorHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool HandleError (Org.W3c.Dom.IDOMError? error);
[<Android.Runtime.Register("handleError", "(Lorg/w3c/dom/DOMError;)Z", "GetHandleError_Lorg_w3c_dom_DOMError_Handler:Org.W3c.Dom.IDOMErrorHandlerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member HandleError : Org.W3c.Dom.IDOMError -> bool

Parameters

error
IDOMError

The error object that describes the error. This object may be reused by the DOM implementation across multiple calls to the handleError method.

Returns

If the handleError method returns false, the DOM implementation should stop the current processing when possible. If the method returns true, the processing may continue depending on DOMError.severity.

Attributes

Remarks

This method is called on the error handler when an error occurs. <br> If an exception is thrown from this method, it is considered to be equivalent of returning true.

Java documentation for org.w3c.dom.DOMErrorHandler.handleError(org.w3c.dom.DOMError).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to