PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Log­Activity­Kind Enumeration

LogActivityKind Enumeration

Kinds of LogActivity.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
public enum LogActivityKind
  Member nameValueDescription
Default0 Default, created by OpenActivity(LogActivityOptions, String) or OpenAsyncActivity(LogActivityOptions, String).
TaskLauncher1 Activity of creating a Task.
Task2 Code running in a Task.
Wait3 Activity of waiting for a Task or another dispatcher object.
OutgoingRequest4 An outgoing request. The property "RequestId" is expected to be defined.
IncomingRequest5 An incoming request of the service (typically a web request). A transaction boundary.
Transaction6 A custom transaction.
See Also