PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Transactions Namespace / Transaction­Requirement Structure / Transaction­Requirement Methods

TransactionRequirement Methods

The TransactionRequirement type exposes the following members.

Public methodToString
Returns the fully qualified type name of this instance.
(Overrides ValueType.ToString().)
Public methodWithRequiresTransaction
Returns a copy of the current TransactionRequirement but with a different value of RequiresTransaction. Specifically, this method preserves the IsSampled property if the value parameter is true.
See Also