This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
You should always check using MapFactory.CanCreateMapFrom() method before passing an item to this method. To open a map, use ProApp.Panes.CreateMapPaneAsync method.
Requirements
Target Platforms: Windows 11, Windows 10, Windows 8.1