Parameters
- filePath
- The path to the BKMX file
Exception | Description |
---|---|
System.ArgumentException | Current project is null. |
System.ArgumentException | Active map view is null. |
System.ArgumentException | Invalid map path. |
System.ArgumentException | path is a zero-length string, contains only white space, or contains one or more invalid characters as defined by InvalidPathChars. |
System.ArgumentException | path is null. |
ArcGIS.Core.CalledOnWrongThreadException | This method must be called within the lambda passed to QueuedTask.Run. |
System.IO.PathTooLongException | The specified path, file name, or both exceed the system-defined maximum length. |
System.IO.DirectoryNotFoundException | The specified path is invalid, (for example, it is on an unmapped drive). |
System.IO.IOException | An I/O error occurred while opening the file. |
System.UnauthorizedAccessException | path specified a file that is read-only and access is not Read or path specified a directory or path specified a directory or the caller does not have the required permission. or mode is Create and the specified file is a hidden file. |
System.ArgumentOutOfRangeException | mode, access, or share specified an invalid value. |
System.IO.FileNotFoundException | The file specified in path was not found. |
System.NotSupportedException | path is in an invalid format. |
System.Exception | General export failure. |
Target Platforms: Windows 11, Windows 10