public TransactionScope (TransactionScopeOption scopeOption, TransactionOptions options, DTCOption opt) { Initialize (scopeOption, null, options, opt, TransactionManager.DefaultTimeout); }
public TransactionScope(TransactionScopeOption scopeOption, TransactionOptions options, DTCOption opt) { Initialize(scopeOption, null, options, opt, TransactionManager.DefaultTimeout); }
public TransactionScope(TransactionScopeOption scopeOption, TransactionOptions options, DTCOption opt) { Initialize(scopeOption, null, options, opt, TransactionManager.DefaultTimeout, TransactionScopeAsyncFlowOption.Suppress); }
public TransactionScope(TransactionScopeOption scopeOption, TransactionOptions transactionOptions, DTCOption interopOption) { Initialize(scopeOption, null, transactionOptions, interopOption, TransactionManager.DefaultTimeout, TransactionScopeAsyncFlowOption.Suppress); }
void Initialize(TransactionScopeOption scopeOption, Transaction tx, TransactionOptions options, DTCOption interop, TimeSpan scopeTimeout, TransactionScopeAsyncFlowOption asyncFlow) { completed = false; isRoot = false; nested = 0; asyncFlowEnabled = asyncFlow == TransactionScopeAsyncFlowOption.Enabled; if (scopeTimeout < TimeSpan.Zero) { throw new ArgumentOutOfRangeException("scopeTimeout"); } this.timeout = scopeTimeout; oldTransaction = Transaction.CurrentInternal; Transaction.CurrentInternal = transaction = InitTransaction(tx, scopeOption, options); if (transaction != null) { transaction.InitScope(this); } if (parentScope != null) { parentScope.nested++; } }
void Initialize(TransactionScopeOption scopeOption, Transaction tx, TransactionOptions options, DTCOption interop, TimeSpan timeout) { completed = false; isRoot = false; nested = 0; oldTransaction = Transaction.CurrentInternal; Transaction.CurrentInternal = transaction = InitTransaction(tx, scopeOption); if (transaction != null) { transaction.InitScope(this); } if (parentScope != null) { parentScope.nested++; } }
private void Initialize(TransactionScopeOption scopeOption, Transaction tx, TransactionOptions options, DTCOption interop, TimeSpan timeout) { this.completed = false; this.isRoot = false; this.nested = 0; this.timeout = timeout; this.oldTransaction = Transaction.CurrentInternal; Transaction.CurrentInternal = this.transaction = this.InitTransaction(tx, scopeOption); if (this.transaction != null) { this.transaction.InitScope(this); } if (this.parentScope != null) { this.parentScope.nested++; } }
public TransactionScope(System.Transactions.TransactionScopeOption scopeOption, System.Transactions.TransactionOptions transactionOptions, System.Transactions.EnterpriseServicesInteropOption interopOption) { }
public TransactionScope(System.Transactions.Transaction transactionToUse, System.TimeSpan scopeTimeout, System.Transactions.EnterpriseServicesInteropOption interopOption) { }
public TransactionScope(Transaction transactionToUse, TimeSpan scopeTimeout, DTCOption interopOption) { Initialize(TransactionScopeOption.Required, transactionToUse, defaultOptions, interopOption, scopeTimeout, TransactionScopeAsyncFlowOption.Suppress); }
public TransactionScope(System.Transactions.Transaction transaction, System.TimeSpan timeout, System.Transactions.EnterpriseServicesInteropOption opt) { }
private void Initialize(TransactionScopeOption scopeOption, Transaction tx, TransactionOptions options, DTCOption interop, TimeSpan timeout) { this.completed = false; this.isRoot = false; this.nested = 0; this.timeout = timeout; this.oldTransaction = Transaction.CurrentInternal; Transaction.CurrentInternal = this.transaction = this.InitTransaction(tx, scopeOption); if (this.transaction != null) { this.transaction.InitScope(this); } if (this.parentScope != null) { this.parentScope.nested ++; } }
public TransactionScope (TransactionScopeOption scopeOption, TransactionOptions options, DTCOption opt) { Initialize (scopeOption, null, options, opt, TransactionManager.DefaultTimeout, TransactionScopeAsyncFlowOption.Suppress); }
public TransactionScope (Transaction transaction, TimeSpan timeout, DTCOption opt) { Initialize (TransactionScopeOption.Required, transaction, defaultOptions, opt, timeout); }
void Initialize (TransactionScopeOption scopeOption, Transaction tx, TransactionOptions options, DTCOption interop, TimeSpan timeout) { completed = false; isRoot = false; nested = 0; oldTransaction = Transaction.CurrentInternal; Transaction.CurrentInternal = transaction = InitTransaction (tx, scopeOption); if (transaction != null) transaction.InitScope (this); if (parentScope != null) parentScope.nested ++; }
public TransactionScope(Transaction transaction, TimeSpan timeout, DTCOption opt) { Initialize(TransactionScopeOption.Required, transaction, defaultOptions, opt, timeout, TransactionScopeAsyncFlowOption.Suppress); }
public TransactionScope(Transaction transaction, TimeSpan timeout, DTCOption opt) { Initialize(TransactionScopeOption.Required, transaction, defaultOptions, opt, timeout); }
public TransactionScope (Transaction transaction, TimeSpan timeout, DTCOption opt) { Initialize (TransactionScopeOption.Required, transaction, defaultOptions, opt, timeout, TransactionScopeAsyncFlowOption.Suppress); }
void Initialize (TransactionScopeOption scopeOption, Transaction tx, TransactionOptions options, DTCOption interop, TimeSpan timeout) { completed = false; isRoot = false; nested = 0; if (timeout < TimeSpan.Zero) throw new ArgumentOutOfRangeException ("timeout"); this.timeout = timeout; oldTransaction = Transaction.CurrentInternal; Transaction.CurrentInternal = transaction = InitTransaction (tx, scopeOption); if (transaction != null) transaction.InitScope (this); if (parentScope != null) parentScope.nested ++; }