C# Class Microsoft.Extensions.Logging.TraceSource.TraceSourceScope

Provides an IDisposable that represents a logical operation scope based on System.Diagnostics LogicalOperationStack
Inheritance: IDisposable
Show file Open project: uhaciogullari/HttpClientFactoryLite

Public Methods

Method Description
Dispose ( ) : void

Pops a state off the LogicalOperationStack by calling CorrelationManager.StopLogicalOperation()

TraceSourceScope ( object state ) : System

Pushes state onto the LogicalOperationStack by calling CorrelationManager.StartLogicalOperation(object)

Method Details

Dispose() public method

Pops a state off the LogicalOperationStack by calling CorrelationManager.StopLogicalOperation()
public Dispose ( ) : void
return void

TraceSourceScope() public method

Pushes state onto the LogicalOperationStack by calling CorrelationManager.StartLogicalOperation(object)
public TraceSourceScope ( object state ) : System
state object The state.
return System