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.