TrackingMapManager.ActivateSharedMapAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Leaves the current application-exclusive map and returns to the default shared map. If the device was already in the default shared map, this method does nothing.
public System.Threading.Tasks.Task ActivateSharedMapAsync ();
member this.ActivateSharedMapAsync : unit -> System.Threading.Tasks.Task
Public Function ActivateSharedMapAsync () As Task
Returns
Task
which is completed when the system has returned to the default map.
Exceptions
Thrown when a map change is already in progress.