A LoggingContext that can represent an async method execution or an async custom activity.
Inheritance
AsyncLoggingContext
Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public abstract class AsyncLoggingContext : SuspendableLoggingContext, ILoggingContext, IDisposable
Properties
Name | Description |
---|---|
IsAsync | Determines whether the current LoggingContext represents an async method or an asynchronous custom activity. |
Methods
Name | Description |
---|---|
GetExecutionContextData(LoggingExecutionContextData, bool) | Returns a new layer for the async stack that has this LoggingContext as the associated activity and |