2023 Class
Changes 0
C

ModificationForbiddenException

Description:
The exception that is thrown by the undo transaction framework when a modification operation is not allowed.
Remarks:
See also: [!:Autodesk::Revit::DB::Element::IsModifiable] and [!:Autodesk::Revit::DB::Document::IsModifiable].
Inheritance Hierarchy:
System.Object
  System.Exception
    Autodesk.Revit.Exceptions.ApplicationException
      Autodesk.Revit.Exceptions.InvalidOperationException
        Autodesk.Revit.Exceptions.ModificationForbiddenException
[SerializableAttribute]
public class ModificationForbiddenException : 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