JobMessage

A class that contains a message.

Property

Type

Description

MessageDesc

string

The message contents.

MessageType

esriJobMessageType

The message type.

Remarks

A message has a type and a description. The message types can be Informative, Warning, Abort, Error, or Empty.

Examples

C#

//get job messages

JobMessage[] msgs = gpserver.GetJobMessages(jobID);

System.Console.WriteLine("Number of JobMessages = " + msgs.Length.ToString());

foreach (JobMessage msg in msgs)

{

      System.Console.WriteLine(msg.MessageDesc);

}

2/28/2020