Open sandboxFocus

Method CreateTransaction

CreateTransaction(LoggingTypeSource, in TransactionProperties, ITransactionPolicy)

Creates a LoggingTransaction instance.

Declaration
public virtual LoggingTransaction CreateTransaction(LoggingTypeSource source, in TransactionProperties properties, ITransactionPolicy policy)
Parameters
Type Name Description
LoggingTypeSource source

The LoggingTypeSource that was used to open the transaction.

TransactionProperties properties

Transaction properties.

ITransactionPolicy policy

Policy assigned to the transaction.

Returns
Type Description
LoggingTransaction

A LoggingTransaction, or null if the transaction could not be created.