Gets the correlation manager for the thread for this trace.

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

Syntax
public static CorrelationManager CorrelationManager {
	[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
	get;
}
public:
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

Type:

The CorrelationManager object associated with the thread for this trace.

Remarks
System_CAPS_noteNote

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.

Security
SecurityPermission

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

Version Information
.NET Framework
Available since 2.0
Return to top