PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace/Logging­Context­Kind Enumeration

LoggingContextKind Enumeration

Kinds of logging contexts.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.6.11.0 (6.6.11.0)
Syntax
C#
public enum LoggingContextKind
Members
  Member nameValueDescription
Thread0 Thread.
AsyncMethod1 Async method.
SyncMethod2 Normal method (not async, not iterator).
SyncCustomActivity3 Synchronous custom activity.
AsyncCustomActivity4 Asynchronous custom activity.
Ephemeral5 Ephemeral (one-use context).
Iterator6 Iterator.
See Also