@tsdotnet/disposable - v2.0.1
    Preparing search index...

    Class ObjectDisposedException

    Exception thrown when an operation is performed on a disposed object.

    Hierarchy

    • Error
      • ObjectDisposedException
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    objectName: string

    The name of the disposed object.

    Methods

    • Throws if the disposable object has been disposed.

      Parameters

      • disposable: DisposableAware

        Object to check.

      • objectName: string

        Name for the exception.

      • Optionalmessage: string

        Optional error message.

      Returns true