Trace
MSMQMessage

The Trace property specifies where report messages are sent when tracing a message.

Type: Long
Run time: read/write

Syntax

object.Trace
 
Syntax Element Description
object Message (MSMQMessage) object that defines the message.

Settings

The Trace property can be set to one of the following values:

MQMSG_SEND_ROUTE_TO_REPORT_QUEUE
Each hop made by the original message generates a report that is recorded in a report message. The report elements include source Queue Manager, message identifier, target, time, and next hop. The report message is sent to the report queue specified by the source Queue Manager.
MQMSG_TRACE_NONE
The default. No tracing for this message.

Remarks

If Trace is specified but the report queue is not defined by the MSMQ Administrator for the message's source Queue Manager, this property is ignored.

For a description of report queues and messages, see Report Queues and Report Messages.

QuickInfo

  Windows NT: Requires version 4.0 SP3 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in mqoai.h.
  Import Library: Use mqoa.lib.
  Unicode: Defined only as Unicode.