Share via


UIDocumentBrowserViewControllerDelegate.FailedToImportDocument Method

Definition

Developers may implement this method to respond when the application fails to import a document.

[Foundation.Export("documentBrowser:failedToImportDocumentAtURL:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void FailedToImportDocument(UIKit.UIDocumentBrowserViewController controller, Foundation.NSUrl documentUrl, Foundation.NSError? error);
[<Foundation.Export("documentBrowser:failedToImportDocumentAtURL:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member FailedToImportDocument : UIKit.UIDocumentBrowserViewController * Foundation.NSUrl * Foundation.NSError -> unit
override this.FailedToImportDocument : UIKit.UIDocumentBrowserViewController * Foundation.NSUrl * Foundation.NSError -> unit

Parameters

controller
UIDocumentBrowserViewController

The controller that failed to import the document.

documentUrl
NSUrl

The document's original URL.

error
NSError

The error that occurred.

This parameter can be null.

Implements

Attributes

Applies to