A LoggingContext that represents a synchronous context (i.e. a context that executes as a single block, without being suspended).
Inheritance
SyncLoggingContext
Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public abstract class SyncLoggingContext : LoggingContext, ILoggingContext, IDisposable
Properties
Name | Description |
---|---|
IsAsync | Determines whether the current LoggingContext represents an async method or an asynchronous custom activity. |
ThreadContext | Gets the ThreadLoggingContext for the thread in which the current LoggingContext is currently executed. |
Methods
Name | Description |
---|---|
Dispose(bool) | Disposes the current object. |
ReturnToPool() | Returns the current instance to the pool to which it belongs. This method is invoked by the Dispose(bool) method. |