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

LogActivity Properties

The LogActivity type exposes the following members.

Public propertyContext
Gets the ILoggingContext created from the current LogActivity.
Public propertyIsValid
Determines whether the current LogActivity is valid, i.e. calls to methods SetFailure() or SetException(Exception) will do something, or will be totally ignored.
See Also