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

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

Méthodes publiques

Méthode 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 méthode

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

TraceSourceScope() public méthode

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