PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Transactions Namespace / Logging­Transaction Class / Logging­Transaction Methods

LoggingTransaction Methods

The LoggingTransaction type exposes the following members.

Methods
  NameDescription
Public methodClose
Closes the current transaction. This method does not call Dispose(). It is called before the corresponding LoggingContext has been disposed.
Public methodDispose()
Disposes the current LoggingTransaction. This is called after the corresponding LoggingContext has been disposed.
Protected methodDispose(Boolean)
Disposes the current LoggingTransaction. This is called after the corresponding LoggingContext has been disposed.
Public methodOpen
Opens the transaction. The default implementation sets the current LoggingVerbosityConfiguration to the one defined by the policy.
See Also