EventSource.SetCurrentThreadActivityId Method (Guid)
[Supported in the .NET Framework 4.5.1 and later versions]
Sets the activity ID on the current thread.
Assembly: mscorlib (in mscorlib.dll)
Calling the SetCurrentThreadActivityId method sets the activity ID on a per-thread basis. All events on the thread will have that activity ID until a new activity is started on the same thread.
This method is called only by libraries that manage their own threads.
Windows Phone 8.1