Export (0) Print
Expand All

EventSource.SetCurrentThreadActivityId Method

.NET Framework 4.6 and 4.5

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

Sets the activity ID on the current thread.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member SetCurrentThreadActivityId(Guid) [Supported in the .NET Framework 4.5.1 and later versions] Sets the activity ID on the current thread.
Public method Static member SetCurrentThreadActivityId(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.
Top
Show:
© 2015 Microsoft