Cancelable QML Type

  • Esri.ArcGISRuntime
  • Cancelable
  • Base type for types that support the cancelation of asynchronous tasks. More...

    Import Statement: import Esri.ArcGISRuntime
    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 table of features that typically represents real-world objects created from an ArcGIS feature service or an ArcGIS geodatabase

    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

    An ArcGIS sublayer

    ArcGISTiledLayer

    Displays data from a ArcGIS Map service, by using pre-generated tiles

    ArcGISTiledSublayer

    A sublayer of an ArcGISTiledLayer

    ArcGISVectorTiledLayer

    Displays data from an ArcGIS vector tiled data source

    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, providing access to static map tiles and imagery metadata

    ClosestFacilityTask

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

    DownloadPreplannedOfflineMapJob

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

    EncLayer

    A layer that displays ENC data

    ExportTileCacheTask

    A task used to export a tile cache (.tpk or .tpkx)

    ExportVectorTilesTask

    A task used to export vector tiles and their style resources

    FeatureLayer

    A layer that can visualize vector/feature data

    FeatureTable

    Base type for types that represent a table of features

    GenerateOfflineMapJob

    A job to generate an offline map from an online map

    GeoView

    A base type for all views that can display geographic content

    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

    GeodatabaseUtility

    A utility that contains methods to create a 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 base type for layers that display cached maps

    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 that can display the basemap layer of a map from mobile map package

    MobileMapPackageUtility

    A utility that contains methods to work with .mmpk files

    MobileScenePackageUtility

    A utility that contains methods to work with .mspk 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

    OfflineMapSyncTask

    A task with methods related to synchronizing 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 requests images from OpenStreetMap servers

    OrbitGeoElementCameraController

    Support Orbital Camera navigation around a stationary or moving point GeoElement object

    OrbitLocationCameraController

    A camera controller that supports orbital camera navigation around a stationary point in a SceneView

    Popup

    Combination of a PopupDefinition and a GeoElement, which allows a visual representation of the GeoElement's attributes as well as the ability to edit them

    PopupManager

    Manages the viewing and editing of a Popup

    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

    Uses a location to provide status and progress updates as a route is traversed (by a moving vehicle, for example)

    SceneView

    A user interface control that displays three-dimensional (3D) geographic content defined by a Scene

    ServiceAreaTask

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

    ServiceFeatureTable

    A feature table created from the URL to an ArcGIS feature service

    ServiceGeodatabase

    A container for a collection of ServiceFeatureTable instances connected to a feature service

    ServiceImageTiledLayer

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

    Surface

    Surface contains elevation sources and defines a surface upon which layers and overlays can be draped

    SymbolStyle

    A symbol style object

    SymbolStyleSearchResult

    A search result object returned by symbol style

    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 layer that requests images from a tiled image server based on a URL template

    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.


    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.