Created
October 6, 2015 21:24
-
-
Save i3arnon/71a96a96cebc33592e2e to your computer and use it in GitHub Desktop.
Setting anything into the CallContext copies it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static IDisposable StartScope() | |
{ | |
CallContext.LogicalSetData("Bar", "Arnon"); | |
Trace.CorrelationManager.StartLogicalOperation(); | |
return new Stopper(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment