Skip To Content ArcGIS for Developers Sign In Dashboard

Cancelable QML Type

Base type for types that support the cancelation of asynchronous tasks. More...

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.0

Methods

Detailed Description

Classes that inherit from Cancelable have asynchronous tasks that can be canceled. Cancelable tasks return a task ID (a string) that can be used when calling cancelTask(string taskId).

Types that implement Cancelable

ArcGISFeatureTable

A feature table created from an ArcGIS feature service

ArcGISMapImageLayer

A layer based on a dynamic ArcGIS Map service

ArcGISMapImageSublayer

A sublayer of an ArcGISMapImageLayer

ArcGISSceneLayer

A layer that displays 3D features from a scene service

ArcGISSublayer

A sublayer of a Layer

ArcGISTiledLayer

A layer that displays ArcGIS tiled map services and cached image services

ArcGISTiledSublayer

A sublayer of an ArcGISTiledLayer

ArcGISVectorTiledLayer

A vector tiled layer

Attachment

A feature attachment

AttachmentListModel

A list model storing a list of Attachments available for an ArcGISFeature

BingMapsLayer

A Bing Maps layer displays map content from a Bing Maps web service

ClosestFacilityTask

A task to find a closest facility route between facilities and incidents

DictionarySymbolStyle

A type of SymbolStyle that is used to obtain unique symbols from a given specification, such as MIL-STD-2525D (mil2525d)

DownloadPreplannedOfflineMapJob

A job to download the map area from an online map as part of the preplanned offline workflow

EncLayer

A layer that can visualize ENC data

ExportTileCacheTask

A task to export and download tile packages from tiled map services and image services

ExportVectorTilesTask

A task used to export vector tiles and their style resources

FeatureLayer

A layer that can display features from a FeatureTable on a map

FeatureTable

Base type for types that represent a table of features

GenerateOfflineMapJob

A job to generate an offline map from an online map

GeoView

Base type for working with views in an MVC architecture

GeodatabaseFeatureTable

A feature table coming from a geodatabase

GeodatabaseSyncTask

A task to download and sync a sync-enabled mobile geodatabase

GeodatabaseSyncTaskUtility

A utility that contains methods to sync a sync-enabled mobile geodatabase

GeoprocessingDataFile

A data file input or output parameter

GeoprocessingFeatures

A features (or records) input or output parameter

GeoprocessingTask

Used to run a geoprocessing task that is published as a web service

ImageAdjustmentLayer

A Layer that supports image adjustments

ImageTiledLayer

A layer that displays tiled map services and cached image services

Job

A base type for types representing a long running job on a server

Layer

Base type for layer types

LayerContent

Base type for types that support a common set of Layer functionality

LegendInfoListModel

A list model storing a list of LegendInfos available for a LayerContent type

LocatorTask

A task for Geocoding and Reverse Geocoding that supports both online and offline capabilities

MapView

A MapView that renders data in a map and allows users to interact with the map

MobileBasemapLayer

A layer to display basemap contents of a mobile map package

MobileMapPackageUtility

A utility that contains methods to work with files

MobileScenePackageUtility

A utility that contains methods to work with files

MosaicDatasetRaster

A geodatabase model designed for managing a collection of raster images

OfflineMapSyncJob

A job to synchronize an offline map's geodatabases with their originating services

OfflineMapTask

A task with methods related to taking a map offline and synchronizing online and offline maps

OpenStreetMapLayer

A layer that displays OpenStreetMap map tiles

OrbitGeoElementCameraController

Provides orbital camera navigation around a stationary or moving GeoElement

OrbitLocationCameraController

Provides orbital camera navigation around a stationary or moving point object

PreplannedMapArea

Represents a single preplanned offline map area

RouteTask

A task to find a Route between two or more locations

RouteTaskUtility

A utility that contains methods to work with route tasks

RouteTracker

Tracks the vehicle location along the route, checking status and reporting progress

SceneView

A SceneView that renders data in a scene and allows users to interact with the scene

ServiceAreaTask

A task to compute areas that can be serviced (reached) from a given location

ServiceFeatureTable

A dataset from an individual layer or table in an ArcGIS map service or feature service

ServiceImageTiledLayer

A base class for all image tiled layers that fetches map tiles from a remote service

Surface

Class containing elevation sources

SymbolStyle

A mechanism to obtain symbols from a style (*.stylx) file

UnknownLayer

An instance of this class represents a layer whose type could not be determined

UnsupportedLayer

An instance of this class represents a layer whose type could not be determined

UtilityNetwork

A utility network

WebTiledLayer

A class that represents a layer that requests images from a tiled image server on the Web

WfsFeatureTable

A table in an OGC Web Feature Service

Method Documentation

bool cancelTask(string taskId)

Cancels the task associated with a taskId.

If there is an associated task status, it will be reset to the Enums.TaskStatus Enums.TaskStatusReady and its corresponding changed signal emitted.

Returns true if the task was successfully canceled. Returns false if the task could not be canceled or if no such task exists.



Feedback on this topic?