UseTracing Property (Message)
Gets or sets a value that indicates whether to trace a message as it moves toward its destination queue.
Syntax
'Declaration <ReadOnlyAttribute(True)> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <MessagingDescriptionAttribute("Specifies if report messages are sent when tracing a message.")> Public Property UseTracing As Boolean
'Usage Dim instance As Message Dim value As Boolean instance.UseTracing = value value = instance.UseTracing
[ReadOnly(true)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [MessagingDescription("Specifies if report messages are sent when tracing a message.")] public bool UseTracing {get; set;}
[ReadOnly(true)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] [MessagingDescription("Specifies if report messages are sent when tracing a message.")] public: property bool UseTracing { bool get(); void set ( bool value); }
Property Value
true if each intermediate step made by the original message en route to the destination queue generates a report to be sent to the system's report queue; otherwise, false. The default is false.Exceptions
Exception | Description |
---|---|
System.InvalidOperationException | The message queue is filtered to ignore the UseTracing property. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also