Class ReadOnlyCollectionException
An exception thrown by an update operation on a Read-Only collection or dictionary.
This exception will be thrown unconditionally when an update operation (method or set property) is called. No check is made to see if the update operation, if allowed, would actually change the collection.
Inheritance
System.Object
ReadOnlyCollectionException
Assembly: DistributedLucene.Net.dll
Syntax
public class ReadOnlyCollectionException : Exception
Constructors
Name | Description |
---|---|
ReadOnlyCollectionException() | Create a simple exception with no further explanation. |
ReadOnlyCollectionException(SerializationInfo, StreamingContext) | Initializes a new instance of this class with serialized data. |
ReadOnlyCollectionException(String) | Create the exception with an explanation of the reason. |