TraceEventCache.LogicalOperationStack Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the correlation data, contained in a stack.
public:
property System::Collections::Stack ^ LogicalOperationStack { System::Collections::Stack ^ get(); };
public System.Collections.Stack LogicalOperationStack { get; }
member this.LogicalOperationStack : System.Collections.Stack
Public ReadOnly Property LogicalOperationStack As Stack
Property Value
A Stack containing correlation data.
Remarks
The correlation data is stored as an object in the call context with the name "System.Diagnostics.Trace.CorrelationManagerSlot". The 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 CorrelationManager is accessed through the Trace.CorrelationManager property. Each call to the StartLogicalOperation method pushes a new logical operation identity onto the stack. Each call to the StopLogicalOperation method pops a logical operation identity from the stack
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om