CorrelationManager Property
Collapse the table of content
Expand the table of content

Trace.CorrelationManager Property

 

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)]
	get;
}

Property Value

Type: System.Diagnostics.CorrelationManager

The CorrelationManager object associated with the thread for this trace.

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.

SecurityPermission

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

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft