ITransactionPolicySelector.GetPolicy Method
GetPolicy(in TransactionProperties, Boolean)
Gets the policy that determines whether an activity should be a logged transaction, and other details about the transaction.
Declaration
ITransactionPolicy GetPolicy(in TransactionProperties properties, bool throwing = false)
Parameters
Type | Name | Description |
---|---|---|
TransactionProperties | properties | Properties, especially of the activity that's creating a transaction. |
Boolean | throwing |
|
Returns
Type | Description |
---|---|
ITransactionPolicy | Policy to apply to the activity. |