Getting a property

This is a special case because the CompletionCode and ReasonCode are not always updated:

The MQSession class has a method ReasonCodeName which may be used to replace a WebSphere MQ reason code with a symbolic name. This is especially useful while developing programs where unexpected errors may occur. However, the name is not ideal for presentation to end users.

Each class also has a property ReasonName, that returns the symbolic name of the current reason code for that class.