Click or drag to resize

ArcGISPortalGetBasemapsAsync Method (CancellationToken)

Executes a portal query with the BasemapGalleryGroupQuery query string and returns the resulting collection of Basemap objects.

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0.0
Syntax
C#
public Task<IEnumerable<Basemap>> GetBasemapsAsync(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
A CancellationToken with which to cancel the operation if required.

Return Value

Type: TaskIEnumerableBasemap
The task object representing the asynchronous search basemap gallery operation. The value of the task result contains a collection of Basemap objects.
Remarks
The BasemapGalleryGroupQuery is a read-only string property of the PortalInfo on the portal.
See Also