Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Trace::CorrelationManager Property

 

Gets the correlation manager for the thread for this trace.

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

public:
property CorrelationManager^ CorrelationManager {
	[SecurityPermissionAttribute(SecurityAction::LinkDemand, Flags = SecurityPermissionFlag::UnmanagedCode)]
	static CorrelationManager^ 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:
© 2017 Microsoft