require(["esri/tasks/GPMessage"], function(GPMessage) { /* code goes here */ });
Description
(Added at v1.0)
Represents a message generated during the execution of a geoprocessing task. It includes information such as when the processing started, what parameter values are being used, the task progress, warnings of potential problems and errors. It is composed of a message type and description. GPMessage has no constructor.
Samples
Search for
samples that use this class.
Constants
TYPE_ABORT | esriJobMessageTypeAbort - Indicates the job has aborted. |
TYPE_EMPTY | esriJobMessageTypeEmpty - Indicates the task returned an empty result. |
TYPE_ERROR | esriJobMessageTypeError - Indicates an error was returned during the execution of the job. |
TYPE_INFORMATIVE | esriJobMessageTypeInformative - Indicates the message is informative. |
TYPE_PROCESS_DEFINITION | esriJobMessageTypeProcessDefinition |
TYPE_PROCESS_START | esriJobMessageTypeProcessStart - Indicates the GP process has started. |
TYPE_PROCESS_STOP | esriJobMessageTypeProcessStop - Indicates the GP process has stopped. |
TYPE_WARNING | esriJobMessageTypeWarning - Indicates the message is a warning. |
Properties
Property Details
A description of the geoprocessing message.
The geoprocessing message type. This can be any value listed in the
constants table above.