Tracing Message Examples
Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista
Sending applications can request tracing when messages are sent. (The report queue used to store the report messages returned is specified by the Message Queuing Administrator, the report queue cannot be specified programmatically.)
For information on how Message Queuing traces messages, see Tracing Messages.
Code Examples
The following examples show how to request tracing when sending messages and how to read messages from the report queue.
Task | Example |
---|---|
Requesting tracing | C/C++ Code Example: Requesting Tracing Visual Basic Code Example: Requesting Tracing |
Reading report messages | C/C++ Code Example: Reading Report Messages Visual Basic Code Example: Reading Report Messages |