HttpWorkerRequest.RequestTraceIdentifier Property

 
System_CAPS_noteNote

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

Gets the corresponding Event Tracking for Windows trace ID for the current request.

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

public virtual Guid RequestTraceIdentifier { get; }

Property Value

Type: System.Guid

A trace ID for the current ASP.NET request.

ASP.NET requests execute with the same trace ID as the corresponding IIS request. This facilitates tracking a request throughout its lifetime, starting with the HTTP.SYS kernel-mode HTTP listener, through the IIS service, and into the ASP.NET system. The IDs provided by IIS differ based on the platform and service pack level.

.NET Framework
Available since 2.0
Return to top
Show: