CorrelationManager.ActivityId Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the identity for a global activity.

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

public Guid ActivityId { get; set; }

Property Value

Type: System.Guid

A Guid structure that identifies the global activity.

The ActivityId property gets and sets the global activity identity in the CallContext for the thread. The ActivityId is used for trace transfer operations in trace listeners that override the TraceTransfer method, such as the XmlWriterTraceListener class.

.NET Framework
Available since 2.0
Return to top