public static Task<IReadOnlyList<PortalItem>> GetBasemapsAsync( ArcGISPortal portal )
Public Shared Function GetBasemapsAsync( _ ByVal portal As ArcGISPortal _ ) As Task(Of IReadOnlyList(Of PortalItem))
Parameters
- portal
public static Task<IReadOnlyList<PortalItem>> GetBasemapsAsync( ArcGISPortal portal )
Public Shared Function GetBasemapsAsync( _ ByVal portal As ArcGISPortal _ ) As Task(Of IReadOnlyList(Of PortalItem))
Exception | Description |
---|---|
PortalConnectionDoesNotExistsException | Thrown when an invalid portal is provided as the active portal. |
System.InvalidOperationException | Base map gallery group query was not found |
System.InvalidOperationException | Base map gallery group for 'baseMapGroupQuery' was not found |
System.Net.Http.HttpRequestException | You do not have permissions to access this resource or perform this operation. |
System.Net.Http.HttpRequestException | Request failed: status code {status code} |
Target Platforms: Windows 10, Windows 8.1