Show / Hide Table of Contents

    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 Source

    ReadOnlyCollectionException()

    Create a simple exception with no further explanation.

    Declaration
    public ReadOnlyCollectionException()
    | Improve this Doc View Source

    ReadOnlyCollectionException(String)

    Create the exception with an explanation of the reason.

    Declaration
    public ReadOnlyCollectionException(string message)
    Parameters
    Type Name Description
    System.String message
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)