Design Pattern Framework 3.5
TransactionDecorator Constructor (scopeOption, transactionOptions, interopOption)
Patterns-In-Action! Application ► Transactions ► TransactionDecorator ► TransactionDecorator(TransactionScopeOption, TransactionOptions, EnterpriseServicesInteropOption)
Initializes a new instance of the TransactionScope class with the
specified scope and COM+ interoperability requirements, and
transaction options.
Declaration Syntax
C# | Visual Basic |
public TransactionDecorator( TransactionScopeOption scopeOption, TransactionOptions transactionOptions, EnterpriseServicesInteropOption interopOption )
Public Sub New ( _ scopeOption As TransactionScopeOption, _ transactionOptions As TransactionOptions, _ interopOption As EnterpriseServicesInteropOption _ )
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.
- interopOption (EnterpriseServicesInteropOption)
- An instance of the EnterpriseServicesInteropOption enumeration that describes how the associated transaction interacts with COM+ transactions.