ObjectAccessException
Description:
The exception that is thrown when an operation is denied, e.g. an attempt was made to set a read-only property.
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
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 |
|---|---|---|---|
| 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 |