PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace / ICustom­Activity­Logging­Context Interface / ICustom­Activity­Logging­Context Properties

ICustomActivityLoggingContext Properties

The ICustomActivityLoggingContext type exposes the following members.

Public propertyCustomActivityKind
Gets the kind of LogActivity represented by the current context.
Public propertyIsAsync
Determines whether the context represents an async method or a custom activity in an async method.
(Inherited from ILoggingContext.)
Public propertyIsDisposed
Determines whether the context is currently disposed (contexts can be recycled, therefore the disposed state is not the final state).
(Inherited from ILoggingContext.)
Public propertyRecycleId
Gets an integer that is incremented every time the current instance is being recycled.
(Inherited from ILoggingContext.)
Public propertyStartTimestamp
Gets the timestamp (given by CurrentTimestamp) of the moment when the activity started.
Public propertySyntheticId
Gets a cross-process globally unique identifier for the current context.
(Inherited from ILoggingContext.)
See Also