Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DefaultTransactionStatus Members

DefaultTransactionStatus overview

Public Instance Constructors

DefaultTransactionStatus Constructor Creates a new instance of the DefaultTransactionStatus class.

Public Instance Properties

Completed Gets or sets a value indicating whether the Transaction is completed, that is commited or rolled back.
Debug Gets a value indicating whether the progress of this transaction is debugged. This is used by AbstractPlatformTransactionManager as an optimization, to prevent repeated calls to log.IsDebug. Not really intended for client code.
GlobalRollbackOnlyMissing <summary> documentation for P:Spring.Transaction.Support.DefaultTransactionStatus.GlobalRollbackOnly
HasSavepoint Returns a flag indicating if the transaction has a savepoint.
IsNewTransaction Returns true if the transaction is new, else false if participating in an existing transaction.
IsTransactionSavepointManager Return true if the underlying transaction implements the ISavepointManager interface.
LocalRollbackOnly Determine the rollback-only flag via checking this TransactionStatus. Will only return true if the application set the property RollbackOnly to true on this TransactionStatus object.
NewSynchronization Flag indicating if a new transaction synchronization has been opened for this transaction.
ReadOnly Returns true if the underlying transaction is read only.
RollbackOnly Determine the rollbackOnly flag via checking both this ITransactionStatus and the transaction object, provided that the latter implements the ISmartTransactionObject interface.
Savepoint Gets and sets the savepoint for the current transaction, if any.
SuspendedResources Returns suspended resources for this transaction.
Transaction Returns the underlying transaction object.

Public Instance Methods

CreateAndHoldSavepoint Create a savepoint and hold it for the transaction.
CreateSavepoint This implementation delegates to the underlying transaction object (if it implements the ISavepointManager interface) to create a savepoint.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
HasTransaction Determines whether there is an actual transaction active.
ReleaseHeldSavepoint Release the savepoint that is held for the transaction.
ReleaseSavepoint This implementation delegates to the underlying transaction object (if it implements the ISavepointManager interface) to release the supplied savepoint.
RollbackToHeldSavepoint Roll back to the savepoint that is held for the transaction.
RollbackToSavepoint This implementation delegates to the underlying transaction object (if it implements the ISavepointManager interface) to rollback to the supplied savepoint.
SetRollbackOnly Set the transaction rollback-only. This instructs the transaction manager that the only possible outcome of the transaction may be a rollback, proceeding with the normal application workflow though (i.e. no exception).
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Properties

SavepointManager Return the underlying transaction as a ISavepointManager, if possible.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

DefaultTransactionStatus Class | Spring.Transaction.Support Namespace