The SubTransaction type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| SubTransaction |
Instantiates a sub-transaction object
|
Methods
| Name | Description | |
|---|---|---|
| Commit |
Commits all changes made to the model made during the sub-transaction.
| |
| Dispose | Releases all resources used by the SubTransaction | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetStatus |
Returns the current status of the sub-transaction.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| HasEnded |
Determines whether the sub-transaction has ended already.
| |
| HasStarted |
Determines whether the sub-transaction has been started yet.
| |
| RollBack |
Discards all changes made to the model during the sub-transaction.
| |
| Start |
Starts the sub-transaction.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| IsValidObject |
Specifies whether the .NET object represents a valid Revit entity.
|