TraceSourceScope Class¶
Provides an IDisposable that represents a logical operation scope based on System.Diagnostics LogicalOperationStack
- Namespace
Microsoft.Extensions.Logging.TraceSource
- Assemblies
- Microsoft.Extensions.Logging.TraceSource
Syntax¶
public class TraceSourceScope : IDisposable
-
class
Microsoft.Extensions.Logging.TraceSource.
TraceSourceScope
Constructors¶
-
TraceSourceScope
(System.Object)¶ Pushes state onto the LogicalOperationStack by calling
System.Diagnostics.CorrelationManager.StartLogicalOperation(System.Object)
Arguments: state (System.Object) – The state. public TraceSourceScope(object state)
-