2021 Class
Changes 0
C

TransientElementCreationException

Description:
The exception that is thrown when TransientElementCreationScope is used incorrectly.
Remarks:
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
[SerializableAttribute]
public class TransientElementCreationException : InvalidOperationException
Name Return Type Description Inherited From
M GetObjectData(SerializationInfo, StreamingContext) None Retrieves data needed to serialize the target object.
M GetObjectData(SerializationInfo, StreamingContext) None Retrieves data needed to serialize the target object. ApplicationException
M GetObjectData(SerializationInfo, StreamingContext) None Retrieves data needed to serialize the target object. InvalidOperationException
Name Return Type Description Inherited From
P FunctionId FunctionId The information of the function throwing the exception. ApplicationException