by
0
5
1,264
0
Top 1% !
Famous
Easy-to-find
Specified
OpenSource
Popularity: 21716th place

Published on:

LanguageCSharp
LicenseMIT_X11
MethodNameTraceStopLogicalOperation
OSWindows
OutputTypevoid

TraceStopLogicalOperation: Stops actual logical operation in trace repository

<summary>
Stops actual logical operation in trace repository
</summary>
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/290149/TraceStopLogicalOperation--Stops-actual-?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
/// <summary> /// Stops actual logical operation in trace repository /// </summary> [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2135:SecurityRuleSetLevel2MethodsShouldNotBeProtectedWithLinkDemandsFxCopRule"), SecurityPermission(SecurityAction.LinkDemand)] static public void TraceStopLogicalOperation() { try { System.Diagnostics.Trace.CorrelationManager.StopLogicalOperation(); } catch (InvalidOperationException) { //stack empty } }
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus