Edit

Share via


UIDocument.HandleError(NSError, Boolean) Method

Definition

Called when an error occurs during reading, saving, or reverting this UIDocument.

[Foundation.Export("handleError:userInteractionPermitted:")]
public virtual void HandleError (Foundation.NSError error, bool userInteractionPermitted);
abstract member HandleError : Foundation.NSError * bool -> unit
override this.HandleError : Foundation.NSError * bool -> unit

Parameters

error
NSError

Object that encapsulates error information.

userInteractionPermitted
Boolean

Handles errors that appear when performing read, write or revert actions on a document.

Attributes

Remarks

This can be used from a background thread.

Applies to