MessageTypes Enumeration

The MessageTypes enumerated constant defines values for Monarch messages, when constructed and when using the SendExternalMessage method and two of the overloaded SendProgramMessage methods in the Program class.

Syntax

BegEnum MessageTypes Access(*Public)      

Remarks

MessageTypes denote values that classify the message.

Members

Member Description Value
Informational
  • Can be sent to any message queue.
  • The message contains general information pertaining to the program.
0
Inquiry
  • Can be sent to an external message queue.
  • Indicates that operator intervention may be required before the program can continue.
1
Request
  • Can be sent to program message queues.
  • Indicates request data.
2
Completion
  • Can only be sent to program message queues.
  • Indicates status upon successful completion of an operation.
3
Diagnostic
  • Can only be sent to program message queues.
  • Indicates error detection and information pertaining to the error. Usually accompanied by an Escape or Notify message.
4
Notify
  • Can only be sent to program message queues.
  • Indicates a condition that requires operator intervention before the program can continue.
  • A reply message may be sent back to the sending program, which may contain data used to continue work.
5
Escape
  • Can only be sent to program message queues.
  • Indicates non-recoverable error detection and a description of the error. The job is generally stopped after this message is sent.
6
Status
  • Can be sent to program message queues.
  • Indicates the current operational status of the sending program.
7

Requirements

Namespace: ASNA.Monarch
Assembly: ASNA.VisualRPG.Runtime.DLL
Platforms: Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows 7, Windows 8 Pro, Windows 10 Pro