TransactionDecorator Constructor (scopeOption, transactionOptions)

Design Pattern Framework 3.5

Design Pattern Framework 3.5 TransactionDecorator Constructor (scopeOption, transactionOptions)
Patterns-In-Action! ApplicationTransactionsTransactionDecoratorTransactionDecorator(TransactionScopeOption, TransactionOptions)
Initializes a new instance of the TransactionScope class with the specified requirements.
Declaration Syntax
C# Visual Basic
public TransactionDecorator(
	TransactionScopeOption scopeOption,
	TransactionOptions transactionOptions
)
Public Sub New ( _
	scopeOption As TransactionScopeOption, _
	transactionOptions As TransactionOptions _
)
Parameters
scopeOption (TransactionScopeOption)
TransactionScopeOption enumeration that describes the transaction requirements associated with this transaction scope.
transactionOptions (TransactionOptions)
A TransactionOptions structure that describes the transaction options to use if a new transaction is created. If an existing transaction is used, the timeout value in this parameter applies to the transaction scope. If that time expires before the scope is disposed, the transaction is aborted.

Assembly: Transactions (Module: Transactions) Version: 1.0.0.0 (1.0.0.0)