Share via


UIDocumentBrowserViewControllerDelegate_Extensions.FailedToImportDocument Method

Definition

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

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static void FailedToImportDocument(this UIKit.IUIDocumentBrowserViewControllerDelegate This, UIKit.UIDocumentBrowserViewController controller, Foundation.NSUrl documentUrl, Foundation.NSError? error);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FailedToImportDocument : UIKit.IUIDocumentBrowserViewControllerDelegate * 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.

Attributes

Applies to