PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​ContextsLogging­Context­Kind
Open sandboxFocus

LoggingContextKind Class

Kinds of logging contexts.

Inheritance
System.Object
LoggingContextKind
Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public sealed class LoggingContextKind : Enum

Fields

Name Description
AsyncCustomActivity

Asynchronous custom activity.

AsyncMethod

Async method.

Ephemeral

Ephemeral (one-use context).

Iterator

Iterator.

SyncCustomActivity

Synchronous custom activity.

SyncMethod

Normal method (not async, not iterator).

Thread

Thread.

value__