The SubTransaction type exposes the following members.

Constructors

  NameDescription
Public methodSubTransaction
Instantiates a sub-transaction object

Methods

  NameDescription
Public methodCommit
Commits all changes made to the model made during the sub-transaction.
Public methodDispose
Releases all resources used by the SubTransaction
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetStatus
Returns the current status of the sub-transaction.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHasEnded
Determines whether the sub-transaction has ended already.
Public methodHasStarted
Determines whether the sub-transaction has been started yet.
Public methodRollBack
Discards all changes made to the model during the sub-transaction.
Public methodStart
Starts the sub-transaction.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.

See Also