MQAsyncStatus.NET class
Use MQAsyncStatus to inquire on the status of previous MQI activity; for example inquiring on the success of previous asynchronous put operations. MQAsyncStatus encapsulates features of the MQSTS data structure.
Class
System.Object | └─ IBM.WMQ.MQBase | └─ IBM.WMQ.MQBaseObject | └─ IBM.WMQ.MQAsyncStatuspublic class IBM.WMQ.MQAsyncStatus extends IBM.WMQ.MQBaseObject;
Properties
Test for MQException being thrown when getting properties.
- public static int CompCode {get;}
-
The completion code from the first error or warning.
- public static int Reason {get;}
-
The reason code from the first error or warning.
- public static int PutSuccessCount {get;}
-
The number of successful asynchronous MQI put calls.
- public static int PutWarningCount {get;}
-
The number of asynchronous MQI put calls that succeeded with a warning.
- public static int PutFailureCount {get;}
-
The number of failed asynchronous MQI put calls.
- public static int ObjectType {get;}
-
The object type for the first error. The following values are possible:
- MQC.MQOT_ALIAS_Q
- MQC.MQOT_LOCAL_Q
- MQC.MQOT_MODEL_Q
- MQC.MQOT_Q
- MQC.MQOT_REMOTE_Q
- MQC.MQOT_TOPIC
- 0, meaning that no object is returned
- public static string ObjectName {get;}
-
The object name.
- public static string ObjectQMgrName {get;}
-
The object queue manager name.
- public static string ResolvedObjectName {get;}
-
The resolved object name.
- public static string ResolvedObjectQMgrName {get;}
-
The resolved object queue manager name.
Constructors
- public MQAsyncStatus() throws MQException;
-
Constructor method, constructs an object with fields initialized to zero or blank as appropriate.
Parent topic: The IBM MQ .NET classes and interfaces