TransactionDecorator Constructor (scopeOption, scopeTimeout)

Design Pattern Framework 3.5

Design Pattern Framework 3.5 TransactionDecorator Constructor (scopeOption, scopeTimeout)
Patterns-In-Action! ApplicationTransactionsTransactionDecoratorTransactionDecorator(TransactionScopeOption, TimeSpan)
Initializes a new instance of the TransactionScope class with the specified timeout value and requirements.
Declaration Syntax
C# Visual Basic
public TransactionDecorator(
	TransactionScopeOption scopeOption,
	TimeSpan scopeTimeout
)
Public Sub New ( _
	scopeOption As TransactionScopeOption, _
	scopeTimeout As TimeSpan _
)
Parameters
scopeOption (TransactionScopeOption)
TransactionScopeOption enumeration that describes the transaction requirements associated with this transaction scope.
scopeTimeout (TimeSpan)
The TimeSpan after which the transaction scope times out and aborts the transaction.

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