TransientElementCreationException
Description:
The exception that is thrown when TransientElementCreationScope is used incorrectly.
The exception that is thrown when TransientElementCreationScope is used incorrectly.
Remarks:
The exception would be thrown in the following cases:
The exception would be thrown in the following cases:
- An element that does not support TransientElementCreationScope is being created in the Scope.
- A TransientElementCreationScope is being created while another such scope is already active.
Inheritance Hierarchy:
System.Object
System.Exception
Autodesk.Revit.Exceptions.ApplicationException
Autodesk.Revit.Exceptions.InvalidOperationException
Autodesk.Revit.Exceptions.TransientElementCreationException
System.Object
System.Exception
Autodesk.Revit.Exceptions.ApplicationException
Autodesk.Revit.Exceptions.InvalidOperationException
Autodesk.Revit.Exceptions.TransientElementCreationException
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| GetObjectData(SerializationInfo, StreamingContext) | None | Retrieves data needed to serialize the target object. | |
| GetObjectData(SerializationInfo, StreamingContext) | None | Retrieves data needed to serialize the target object. | ApplicationException |
| GetObjectData(SerializationInfo, StreamingContext) | None | Retrieves data needed to serialize the target object. | InvalidOperationException |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| FunctionId | FunctionId | The information of the function throwing the exception. | ApplicationException |