ExceptionThreshold property

Read-write. Defines the level of IBM MQ error for which MQAX will throw an exception. Defaults to MQCC_FAILED. A value greater than MQCC_FAILED effectively prevents exception processing, leaving the programmer to perform checks on the CompletionCode and ReasonCode.

Defined in: MQSession class

Data Type: Long

Values:

  • Any, but consider MQCC_WARNING, MQCC_FAILED or greater.
Syntax:

To get: ExceptionThreshold& = MQSession. ExceptionThreshold

To set: MQSession. ExceptionThreshold = ExceptionThreshold$