Прочитај на енглеском Уреди

Делите путем


Message.UseTracing Property

Definition

Gets or sets a value that indicates whether to trace a message as it moves toward its destination queue.

C#
[System.Messaging.MessagingDescription("MsgUseTracing")]
public bool UseTracing { get; set; }

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.

Attributes

Exceptions

The message queue is filtered to ignore the UseTracing property.

Examples

The following code example gets and sets the value of a message's UseTracing property.

Remarks

The UseTracing property specifies whether to track the route of a message as it moves toward its destination queue. If true, a report message (generated by Message Queuing) is sent to a report queue each time the message passes through a Message Queuing routing server. The report queue is specified by the source Queue Manager. Report queues are not limited to report messages generated by Message Queuing; your application-generated messages can also be sent to report queues.

Using tracing involves setting up Active Directory and specifying a report queue for the Message Queuing enterprise. The administrator configures these settings.

Applies to

Производ Верзије
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also