2023 Class
Changes 0
C

ObjectAccessException

Description:
The exception that is thrown when an operation is denied, e.g. an attempt was made to set a read-only property.
Inheritance Hierarchy:
System.Object
  System.Exception
    Autodesk.Revit.Exceptions.ApplicationException
      Autodesk.Revit.Exceptions.InvalidOperationException
        Autodesk.Revit.Exceptions.ObjectAccessException
[SerializableAttribute]
public class ObjectAccessException : 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