System.Diagnostics.TraceEventCache.LogicalOperationStack Property

Gets the correlation data, contained in a stack.

Syntax

public Stack LogicalOperationStack { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The correlation data is stored as an object in the call context with the name "System.Diagnostics.Trace.CorrelationManagerSlot". The System.Diagnostics.CorrelationManager class provides methods used to store a logical operation identity in a thread-bound context and automatically tag each trace event generated by the thread with the stored identity. The System.Diagnostics.CorrelationManager is accessed through the Trace.CorrelationManager property. Each call to the CorrelationManager.StartLogicalOperation method pushes a new logical operation identity onto the stack. Each call to the CorrelationManager.StopLogicalOperation method pops a logical operation identity from the stack

Requirements

Namespace: System.Diagnostics
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0