Instantiates a sub-transaction object
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2011
Syntax
| C# |
|---|
public SubTransaction( Document document ) |
| Visual Basic |
|---|
Public Sub New ( _ document As Document _ ) |
| Visual C++ |
|---|
public: SubTransaction( Document^ document ) |
Parameters
- document
- Type: Autodesk.Revit.DB..::..Document
The document for which this sub-transaction is going to be used.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |