EventSource.SetCurrentThreadActivityId Method

.NET Framework (current version)
 

[Supported in the .NET Framework 4.5.1 and later versions]

Sets the activity ID on the current thread.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticSetCurrentThreadActivityId(Guid)

[Supported in the .NET Framework 4.5.1 and later versions]

Sets the activity ID on the current thread.

System_CAPS_pubmethodSystem_CAPS_staticSetCurrentThreadActivityId(Guid, Guid)

[Supported in the .NET Framework 4.5.1 and later versions]

Sets the activity ID on the current thread, and returns the previous activity ID.

Return to top
Show: