Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TransactionScope Constructor

TransactionScope Constructor

Initializes a new instance of the TransactionScope class.

Name Description
TransactionScope () Initializes a new instance of the TransactionScope class.
TransactionScope (Transaction) Initializes a new instance of the TransactionScope class and sets the specified transaction as the ambient transaction, so that transactional work done inside the scope uses this transaction.
TransactionScope (TransactionScopeOption) Initializes a new instance of the TransactionScope class with the specified requirements.
TransactionScope (Transaction, TimeSpan) Initializes a new instance of the TransactionScope class with the specified timeout value, and sets the specified transaction as the ambient transaction, so that transactional work done inside the scope uses this transaction.
TransactionScope (TransactionScopeOption, TimeSpan) Initializes a new instance of the TransactionScope class with the specified timeout value and requirements.
TransactionScope (TransactionScopeOption, TransactionOptions) Initializes a new instance of the TransactionScope class with the specified requirements.
TransactionScope (Transaction, TimeSpan, EnterpriseServicesInteropOption) Initializes a new instance of the TransactionScope class with the specified timeout value and COM+ interoperability requirements, and sets the specified transaction as the ambient transaction, so that transactional work done inside the scope uses this transaction.
TransactionScope (TransactionScopeOption, TransactionOptions, EnterpriseServicesInteropOption) Initializes a new instance of the TransactionScope class with the specified scope and COM+ interoperability requirements, and transaction options.

Community Additions

ADD
Show:
© 2015 Microsoft