ObjectReadOnlyException Class
Exception thrown by objects that have the FreezableThreadingModel or ImmutableThreadingModel when an attempt is made to modify the object after it has been made read-only.
Inheritance Hierarchy
System.Object
  System.Exception
    PostSharp.Patterns.Threading.ObjectReadOnlyException

Namespace: PostSharp.Patterns.Threading
Assembly: PostSharp.Patterns.Threading (in PostSharp.Patterns.Threading.dll) Version: 4.3.30.0 (4.3.30.0)
Syntax
C#
[SerializableAttribute]
public sealed class ObjectReadOnlyException : Exception

The ObjectReadOnlyException type exposes the following members.

Constructors
  NameDescription
Public methodObjectReadOnlyException()
Initializes a new instance of the ObjectReadOnlyException class with the default error message.
Public methodObjectReadOnlyException(String)
Initializes a new instance of the ObjectReadOnlyException class with a given error message.
Public methodObjectReadOnlyException(String, Exception)
Initializes a new instance of the ObjectReadOnlyException class with a given error message and inner exception.
Top
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Top
See Also