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
Namespace: Lucene.Net.Support.C5
Assembly: Lucene.Net.dll
Syntax
public class ReadOnlyCollectionException : Exception
Constructors
| Improve this Doc View SourceReadOnlyCollectionException()
Create a simple exception with no further explanation.
Declaration
public ReadOnlyCollectionException()
ReadOnlyCollectionException(String)
Create the exception with an explanation of the reason.
Declaration
public ReadOnlyCollectionException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |