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
System.Exception
ReadOnlyCollectionException
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
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 |