Gets the correlation manager for the thread for this trace.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public static CorrelationManager CorrelationManager {
	[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
property CorrelationManager^ CorrelationManager {
	[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::UnmanagedCode)]
	static CorrelationManager^ get();
static member CorrelationManager : CorrelationManager with get
Public Shared ReadOnly Property CorrelationManager As CorrelationManager

Property Value


The CorrelationManager object associated with the thread for this trace.


This is an advanced property that most applications should not have occasion to use.

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.


for operating with unmanaged code. Security action: LinkDemand. Associated enumeration: SecurityPermissionFlagUnmanagedCode

.NET Framework
Available since 2.0
Return to top