c# Programming Glossary: startlogicaloperation
SynchronizationContext.Current is null in Continuation on the main UI thread http://stackoverflow.com/questions/11621372/synchronizationcontext-current-is-null-in-continuation-on-the-main-ui-thread at line 435 System.Diagnostics.Trace.CorrelationManager.StartLogicalOperation LogicalOperation var task Task.Factory.StartNew var cont task.ContinueWith.. on the main ui thread. I don't know precisely why the StartLogicalOperation call helps cause the issue that's just what I narrowed it down.. it due to my call to Diagnostics.Trace.CorrelationManager.StartLogicalOperation LogicalOperation In summary it looks like there are several..
Is CorrelationManager.LogicalOperationStack compatible with Parallel.For, Tasks, Threads, etc http://stackoverflow.com/questions/4729479/is-correlationmanager-logicaloperationstack-compatible-with-parallel-for-tasks using the CorrelationManager's LogicalOperationStack and StartLogicalOperation StopLogicalOperation methods to provide additional context in.. to perform work in parallel using Parallel.For. Also I use StartLogicalOperation StopLogicalOperation to bracket internally DoLongRunningWork.. like this each time it is executed DoLongRunningWork StartLogicalOperation Thread.Sleep 3000 StopLogicalOperation I have found that if..
|